18.10.2013 Views

V4N4 - Complang

V4N4 - Complang

V4N4 - Complang

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

I<br />

Cnmmssd-e.!nde<br />

In this mode, the following keys perform these functions:<br />

i<br />

j<br />

k<br />

m<br />

J<br />

K<br />

n<br />

z<br />

ctrl-c<br />

n<br />

b<br />

e<br />

r<br />

X<br />

X<br />

t<br />

return<br />

moves curser up<br />

mcrvec, curser left<br />

moves cursor right<br />

moves cursor down<br />

moves cursor left four characters<br />

moves cursor right four characters<br />

sets cursor to first character in block<br />

sets cursor to last character in block<br />

Ctits-off everything to the right of the cursor.<br />

displays Next block<br />

displays one block Back<br />

enters "Enter Mode", allowing you to enter or insert<br />

text.<br />

enters "Replace Mode", allowing you to overwrite<br />

text.<br />

deletes a character, and enters "Delete Mode".<br />

deletes fcur characters at a time. Takes the text that was most recently deleted with<br />

"x'' or "Cntrl-c", and inserts it at the current<br />

cursor positicrn.<br />

returns tcr FDHTH<br />

Screen # 18 crc ver 1 8364 Screen # 19 crc ver = 31127<br />

0 ( hick Text Formatter By Leo Brodie 09/25/82 ( VARIABLES k CONSTANTS<br />

1 ( System dependent words) 78 CONSTANT HIDE 55 CONSTANT NEAR-RIGHT<br />

2 VARIABLE 'PAGE VARIABLE 'CLR-)LN<br />

3 VARIABLE 'CLR-)SCR VARIABLE ' WY 2 CONSTANT ENTERING 4 CONSTANT REPLACING<br />

4 : PAGE 'PAGE 3 EXECUTE ; 6 CONSTANT DELETING 8 CONSTINT CORRAND<br />

s : CLR->LN<br />

6 : CLR-:>SCR<br />

7 : WY 'CLR-XN a EXECUTE ;<br />

'CLR-XCR a EXECUTE ;<br />

VARIABLE RODE t command, enter, replace or delete)<br />

4 28 CONSTANT #NODES ( number of modes, in bytes)<br />

*XY a EXECUTE ; 32767 CONSTANT ROOT ( impossible # of shifts to accorodate)<br />

8 VARIABLE XCUR VARIABLE YCUR<br />

9 : BOTTOfl 0 20 XY CLR-)LN ; VARIABLE TALLY ( count of chars entered)<br />

07128182<br />

10 : .RODE b5 1 WY CLR-jLN ; 19 CONSTANT #LINES<br />

11 13 CONSTANT RETURN i value KEY returns when (return) pressed)<br />

12 : ', [COflPILEl ' , ; I 79 Standard)<br />

13 ( : ', [CDNPILEI ' CFA , ; ( fig VERSION)<br />

1 4 ! : ' , ' ? ? - ( Starting FORTH)<br />

15 --)<br />

CREATE EDGES 4 #LINES 1t t ALLDT t table of right edges:<br />

I xcursor-pos, r#, for each line.<br />

-- )<br />

)<br />

Copyright 1982 Leo Brodie 10/13/82<br />

FORTH Dimensions 25<br />

Volume IV, No 4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!