Cell type

Read(2064) Label: cell type,

Description:

Cell type.

Syntax:

x  'x

Constant cell

A cell containing a constant represented by value x or string x

Examples of automatically identifiable constants: 342.4E5-4.455%2012-11-223:43:23

The writing sytle 'x means the returned cell value is a string

=x

Calculation cell

A cell whose value is the result of computing expression x

>x  x

Executable cell

A cell that executes statement x and returns no value; the sign > will be omitted if the statement begins with a reserved word

/x

Comment cell

A cell containing comment that will be skipped in execution; its value is string x

Example:

 

A

 

1

10

Return constant 10:

2

'10

Return a string:

3

=2+3

Calculate expression 2+3 and return result 5

4

/This is a comment

A comment cell, which will be skipped in execution.

5

[2,5,-3,8]

 

6

>A6.run(~=~+~[-1]) 

Based on sequence A6, calculate the sum of each member and its previous one; A5’s result is [2,7,4,12].