/[ascend]/trunk/models/test/compiler/stop.a4c
ViewVC logotype

Contents of /trunk/models/test/compiler/stop.a4c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2348 - (show annotations) (download) (as text)
Wed Jan 5 11:50:51 2011 UTC (11 years, 7 months ago) by jpye
File MIME type: text/x-ascend
File size: 161 byte(s)
Add test of STOP statement.
1 REQUIRE "atoms.a4l";
2
3 MODEL stop;
4 x,y IS_A solver_var;
5 expr1: y = 5 * x + 5;
6 METHODS
7 METHOD on_load;
8 FIX x;
9 x := 2;
10 STOP;
11 x := 1;
12 END on_load;
13 END stop;

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22