Editor
blk
Variable storing the current block number
Take:
Return: a
#blks
Variable storing the number of blocks to load/save
Take:
Return: a
The word 'blocks' is used to set this
(block)
Return the address of the current block
Take:
Return: a
The same as: blk @ block
block
Return the address of a block
Take: n
Return: a
(line)
Return the address of a line in the current block
Take: n
Return: a
p n
Go to the next or previous block
Take:
Return:
p is previous block, n is next block
d
Use: Delete a line
Take: n
Return:
x
Delete the current block
Take:
Return:
eb
Evaluate the current block
Take:
Return:
Evaluates the entire block at once
el
Evaluate a line in the current block
Take: n
Return:
e
Evaluate the current block
Take:
Return:
Evaluates each line separately
ia
Insert a line at a specified column
Take: c l
Return:
This is a parsing word.
i
Insert a line
Take: n
Return:
This is a parsing word
s
Select a new block
Take: n
Return:
The same as doing 'blk !'
\
Load the startup block
Take:
Return:
The first block (0) is reserved for comments. This does '1 s e'. It's assumed that the loaded block will chainload the rest.
blocks
Set the number of blocks to load or save
Take: n
Return:
The same as '#blks !'
new
Erase all of the blocks
Take:
Return:
v
View the current block
Take:
Return:
Also shows the 'status' information
.s
Display the top ten items on the stack
Take:
Return:
status
Display some status information
Take:
Return:
Displays the block number, and does '.s'
use
Select a new active file
Take:
Return:
Not defined in the native or L4 ports
This is a parsing word
r
Read the selected file to the block memory
Take:
Return:
w
Write the blocks to the selected file
Take:
Return:
load
Select a file and read it into memory
Take:
Return: