User guide
124 CHAPTER 4. THE COMMAND LANGUAGE
Cintsys and Cintpos logical variables are held in a linked list held in the rootnode
element rtn envlist. If both NAME and VALUE are given, the given logical variable
name is given the specified value, but if no value is given the specified variable is unset.
If setlogname is called without argume nts, the names and values of all logical variables
are output. A running program c an lookup and set logical variables using the functions
getlogname and setlogname.
setroot ROOT,PATH,HDRS,SCRIPTS CIN:y, POS:y, NAT:y
If no arguments are given it just outputs the current sett i ngs of the four environ-
ment variable names. Otherwise, the specified variables are given new names.
shellcom COMMAND/A CIN:y, POS:y, NAT:y
This command causes its argument to be processed by the command language
interpreter shell of the underlying operating system (typicall y Linux or Windows). It
does not return until the shell has completed processing the command.
sial-arm FROM,TO/K CIN:y, POS:y, NAT:y
This command converts the Si al intermediate code generated by bcpl2sial to the
equivalent assembly language for machines using the ARM processor.
sial-386 FROM,TO/K CIN:y, POS:y, NAT:y
This command converts the Si al intermediate code generated by bcpl2sial to the
equivalent assembly language for i386 machines such as Pentiums.
sial-alpha CIN:y, POS:y, NAT:y
This command converts the Si al intermediate code generated by bcpl2sial to the
equivalent assembly language for DEC Alpha machines.
sial-sasm CIN:y, POS:y, NAT:y
This command converts the Sial intermediate co d e generated by bcpl2sial into a
human readable form.
sial-vax CIN:y, POS:y, NAT:y
This command converts the Si al intermediate code generated by bcpl2sial to the
equivalent assembly language for VAX machines.
skip LABEL CIN:y, POS:y, NAT:y
The command skip label skips through the command stream until a line starting
with lab label is encountered. It then skips until the end of that line before resuming
normal command execution from there. The skip command is only allowed within
command-commands.
stack SIZE CIN:y, POS:y, NAT:y
The command stack n causes the siz e of the coroutine st ack allocated for subse-
quent commands to be n words l ong. Wit hout an argument it outputs the current
setting.