Clause: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Each program line contains one or more '''clauses'''. You can parse a line by it's clauses by use of the list command. For example the following program. 0001...") |
No edit summary |
||
Line 14: | Line 14: | ||
The newly added ` markers show where each clause begins. | The newly added ` markers show where each clause begins. | ||
Each clause may be a [[statement]] or a command or something else. | Each clause may be a [[statement]] or a [[command]] or something else. | ||
See also: [[Go]] | See also: [[Go]] |
Latest revision as of 20:18, 10 October 2013
Each program line contains one or more clauses. You can parse a line by it's clauses by use of the list command. For example the following program.
00010 def fn_one_line=25 00020 for count=1 to 100 : print 'Count=';count : next count 00030 if exists("file") then print 'the file is there.' else print 'no file.'
the command list clause would return:
00010 ``def `fn_one_line=25` 00020 `for count=1 to 100 : `print 'Count=';count : `next count 00030 `if exists("file") then `print 'the file is there.' else `print 'no file.'
The newly added ` markers show where each clause begins.
Each clause may be a statement or a command or something else.
See also: Go