Home » Archimedes archive » Acorn User » AU 1995-04.adf » !Internet_StarterPak » !SLIPdial/Resources/UK/Help/call

!SLIPdial/Resources/UK/Help/call

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 » Acorn User » AU 1995-04.adf » !Internet_StarterPak
Filename: !SLIPdial/Resources/UK/Help/call
Read OK:
File size: 0122 bytes
Load address: 0000
Exec address: 0000
File contents
call [/lock] <label> [<parameters>]
 calls a subroutine, with optional parameters. The parameters are
 placed into the script variables p1,p2,...,pn within the subroutine.
 The /lock flag sets a 'lock flag' on the subroutine, which prevents it
 from being re-entered until it has returned.
00000000  63 61 6c 6c 20 5b 2f 6c  6f 63 6b 5d 20 3c 6c 61  |call [/lock] <la|
00000010  62 65 6c 3e 20 5b 3c 70  61 72 61 6d 65 74 65 72  |bel> [<parameter|
00000020  73 3e 5d 0a 20 63 61 6c  6c 73 20 61 20 73 75 62  |s>]. calls a sub|
00000030  72 6f 75 74 69 6e 65 2c  20 77 69 74 68 20 6f 70  |routine, with op|
00000040  74 69 6f 6e 61 6c 20 70  61 72 61 6d 65 74 65 72  |tional parameter|
00000050  73 2e 20 54 68 65 20 70  61 72 61 6d 65 74 65 72  |s. The parameter|
00000060  73 20 61 72 65 0a 20 70  6c 61 63 65 64 20 69 6e  |s are. placed in|
00000070  74 6f 20 74 68 65 20 73  63 72 69 70 74 20 76 61  |to the script va|
00000080  72 69 61 62 6c 65 73 20  70 31 2c 70 32 2c 2e 2e  |riables p1,p2,..|
00000090  2e 2c 70 6e 20 77 69 74  68 69 6e 20 74 68 65 20  |.,pn within the |
000000a0  73 75 62 72 6f 75 74 69  6e 65 2e 0a 20 54 68 65  |subroutine.. The|
000000b0  20 2f 6c 6f 63 6b 20 66  6c 61 67 20 73 65 74 73  | /lock flag sets|
000000c0  20 61 20 27 6c 6f 63 6b  20 66 6c 61 67 27 20 6f  | a 'lock flag' o|
000000d0  6e 20 74 68 65 20 73 75  62 72 6f 75 74 69 6e 65  |n the subroutine|
000000e0  2c 20 77 68 69 63 68 20  70 72 65 76 65 6e 74 73  |, which prevents|
000000f0  20 69 74 0a 20 66 72 6f  6d 20 62 65 69 6e 67 20  | it. from being |
00000100  72 65 2d 65 6e 74 65 72  65 64 20 75 6e 74 69 6c  |re-entered until|
00000110  20 69 74 20 68 61 73 20  72 65 74 75 72 6e 65 64  | it has returned|
00000120  2e 0a                                             |..|
00000122