next up previous contents
Next: User flags. Up: Customization and other utilities. Previous: Customization and other utilities.

   
Data types.

Data handled by Erable have two representations: the user representation which you use most all the time and the internal representation (used internally).

List of data types:
True data Example User Example Internal Example
Integer 5 real, hex, string 5 hex #5
Float 5.02 real 5.02 long real %% 5.02
Gauss integer 1+2i symbolic '1+2*i' secondarie :: #1 #2 ;
Complex (1.1,2.3) complex (1.1,2.3) long complex C%% 1.1 2.3
Fractions $\frac{2}{3}$ symbolic '2/3' symbolic '#2/#3'
Irr. quadr. $1+2\sqrt{5}$ symbolic '1+2*V3' program << #1 #2 #5 >>
Unknowns a, x ... variables A X list variable
Symbolics a+x2 symbolic 'A+X^2' list variable
Lists { 1 i } list { 1 'i' } list { #1 :: #0 #1 ; }
Array [ 1 2 ] array [ [ 1 2 ] [ 3 4 ] ] array [ [ 1 2 ] [ 3 4 ] ]
Symb. array { 1 2 } list { { 1 2 } { 3 4 } list { { #1 #2 } { #3 #4 } }


next up previous contents
Next: User flags. Up: Customization and other utilities. Previous: Customization and other utilities.
Bernard Parisse
1998-07-31