From ftm
Jump to: navigation, search
(Parenthesis)
Line 8: Line 8:
 
== Parenthesis ==
 
== Parenthesis ==
  
Parenthesis in FTM expressions '(' and ')' always will (try to) evaluate the contained elements to a single value.
+
Parenthesis in FTM expressions, '(' and ')', always will (try to) evaluate the contained elements to a single value.
 +
 
 +
Inside parenthesis you'd have either one
 +
* a simple value (in which case the parenthesis are useless)
 +
* a simple infix expression
 +
* a simple prefix expression

Revision as of 11:39, 6 June 2007

FTM expressions are used in the following contexts

  • the FTM message box (ftm.mess)
  • the FTM definition (ftm.object)
  • the expr class/object

The syntax is basically always the same appart from minor context dependent details.

Parenthesis

Parenthesis in FTM expressions, '(' and ')', always will (try to) evaluate the contained elements to a single value.

Inside parenthesis you'd have either one

  • a simple value (in which case the parenthesis are useless)
  • a simple infix expression
  • a simple prefix expression