Home » Archimedes archive » Archimedes World » AW-1993-11.adf » AWNov93 » !AWNov93/Goodies/RISC_OS/!Variables/Variables/Eval

!AWNov93/Goodies/RISC_OS/!Variables/Variables/Eval

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1993-11.adf » AWNov93
Filename: !AWNov93/Goodies/RISC_OS/!Variables/Variables/Eval
Read OK:
File size: 022B bytes
Load address: 0000
Exec address: 0000
File contents
Echo
Help Eval
Echo
Echo ==========================================================
Echo  References:
Echo
Echo  1.  "User Guide" (RISCOS 3)   pages 179
Echo  2.  "Programmers Reference Manual" (RISCOS 3) page 1-482
Echo
Echo ==========================================================
Echo
Echo Example 1     EVAL 2_101   
Echo ---------
Echo This is the binary number 1.4+0.2+1 (=5), gives the output
Echo 
EVAL 2_101
Echo
Echo Example 2     EVAL 3_101   
Echo ---------
Echo This is the tertiary number 1.9+0.3+1 (=10), gives the output
Echo 
EVAL 3_101
00000000  45 63 68 6f 0a 48 65 6c  70 20 45 76 61 6c 0a 45  |Echo.Help Eval.E|
00000010  63 68 6f 0a 45 63 68 6f  20 3d 3d 3d 3d 3d 3d 3d  |cho.Echo =======|
00000020  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000050  3d 3d 3d 0a 45 63 68 6f  20 20 52 65 66 65 72 65  |===.Echo  Refere|
00000060  6e 63 65 73 3a 0a 45 63  68 6f 0a 45 63 68 6f 20  |nces:.Echo.Echo |
00000070  20 31 2e 20 20 22 55 73  65 72 20 47 75 69 64 65  | 1.  "User Guide|
00000080  22 20 28 52 49 53 43 4f  53 20 33 29 20 20 20 70  |" (RISCOS 3)   p|
00000090  61 67 65 73 20 31 37 39  0a 45 63 68 6f 20 20 32  |ages 179.Echo  2|
000000a0  2e 20 20 22 50 72 6f 67  72 61 6d 6d 65 72 73 20  |.  "Programmers |
000000b0  52 65 66 65 72 65 6e 63  65 20 4d 61 6e 75 61 6c  |Reference Manual|
000000c0  22 20 28 52 49 53 43 4f  53 20 33 29 20 70 61 67  |" (RISCOS 3) pag|
000000d0  65 20 31 2d 34 38 32 0a  45 63 68 6f 0a 45 63 68  |e 1-482.Echo.Ech|
000000e0  6f 20 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |o ==============|
000000f0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000110  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 0a 45 63 68  |============.Ech|
00000120  6f 0a 45 63 68 6f 20 45  78 61 6d 70 6c 65 20 31  |o.Echo Example 1|
00000130  20 20 20 20 20 45 56 41  4c 20 32 5f 31 30 31 20  |     EVAL 2_101 |
00000140  20 20 0a 45 63 68 6f 20  2d 2d 2d 2d 2d 2d 2d 2d  |  .Echo --------|
00000150  2d 0a 45 63 68 6f 20 54  68 69 73 20 69 73 20 74  |-.Echo This is t|
00000160  68 65 20 62 69 6e 61 72  79 20 6e 75 6d 62 65 72  |he binary number|
00000170  20 31 2e 34 2b 30 2e 32  2b 31 20 28 3d 35 29 2c  | 1.4+0.2+1 (=5),|
00000180  20 67 69 76 65 73 20 74  68 65 20 6f 75 74 70 75  | gives the outpu|
00000190  74 0a 45 63 68 6f 20 0a  45 56 41 4c 20 32 5f 31  |t.Echo .EVAL 2_1|
000001a0  30 31 0a 45 63 68 6f 0a  45 63 68 6f 20 45 78 61  |01.Echo.Echo Exa|
000001b0  6d 70 6c 65 20 32 20 20  20 20 20 45 56 41 4c 20  |mple 2     EVAL |
000001c0  33 5f 31 30 31 20 20 20  0a 45 63 68 6f 20 2d 2d  |3_101   .Echo --|
000001d0  2d 2d 2d 2d 2d 2d 2d 0a  45 63 68 6f 20 54 68 69  |-------.Echo Thi|
000001e0  73 20 69 73 20 74 68 65  20 74 65 72 74 69 61 72  |s is the tertiar|
000001f0  79 20 6e 75 6d 62 65 72  20 31 2e 39 2b 30 2e 33  |y number 1.9+0.3|
00000200  2b 31 20 28 3d 31 30 29  2c 20 67 69 76 65 73 20  |+1 (=10), gives |
00000210  74 68 65 20 6f 75 74 70  75 74 0a 45 63 68 6f 20  |the output.Echo |
00000220  0a 45 56 41 4c 20 33 5f  31 30 31                 |.EVAL 3_101|
0000022b