Author |
Message |
shi liang (caleb_shi)
Member Username: caleb_shi
Post Number: 10 Registered: 12-2004
| Posted on Thursday, February 03, 2005 - 11:25 am: | |
Hi, Sir: does flexpde perform the samiliar function, like FOR repeat statment and IF condition statement, with C program? for(initialization;condition;update) statement if(condtion) statement |
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 314 Registered: 06-2003
| Posted on Thursday, February 03, 2005 - 02:15 pm: | |
The FlexPDE scripting language has some syntactic features that look like conventional programming languages. But it is NOT a procedural language like C or FORTRAN. You do not describe a sequence of operations to be performed. The FlexPDE scripting language is a "problem description language" that describes the interdependence of variables in your system. It provides enough information about the system so that FlexPDE can decide what procedures to employ. There is a REPEAT statement (See REPEAT in the Help Index). This is a textual repeat that replicates the contained text with modifications. There is an IF statement (See IF in the Help Index). This is an expression evaluation IF, not a statement alternator. The syntax is the same as the C construct " a? b : c".
|
|