Statement in DM - Practical Electron Microscopy and Database - - An Online Book - |
||||||||
Microanalysis | EM Book http://www.globalsino.com/EM/ | ||||||||
================================================================================= | ||||||||
Statements are the fundamental units of script execution in DM and C++. The statements within a script is evaluated in default order. In C++, the semicolon is a statement terminator. However, in DM scripts, a statement terminates simply by changing a line, namely DM recognizes the end of a line as a terminator, unless there is a backslash sign as discussed in the table below.
Some special, control flow statements are: Other statements, such as block statement are used often as well. Variables declared within a block are local to that block. They are not global to all statements in a script, that is, they are not globally accessible. .
|
||||||||
================================================================================= | ||||||||
|
||||||||