Changeset 62b55966a78944a0cf61b110dbea9a84817fdf12

User picture

Commiter: Charles Childers

Author: Charles Childers

Parent: 39649651c7

(2010/03/24 01:27) Almost 2 years ago

doc updates

Affected files

Updated doc/glossary.txt Download diff

39649651c71bddabb639fe1f02bb11eb8dd109d262b55966a78944a0cf61b110dbea9a84817fdf12
2
 Global Namespace
2
 Global Namespace
3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
4
5
canvas
5
net
6
	( - )
7
	Open or shut the 'net' vocabulary. Shut by default.
8

9
files
10
	( - )
11
	Open or shut the 'files' vocabulary. Shut by default.
12

13
canvas
6
	( - )
14
	( - )
7
	Open or shut the 'canvas' vocabulary. Shut by default.
15
	Open or shut the 'canvas' vocabulary. Shut by default.
8

16

...
...
79
	Close a socket.
87
	Close a socket.
80

88

81
net.send
89
net.send
82
	( cn-f )
90
	( $n-f )
83
	Write character 'c' to socket 'n'.
91
	Write string '$' to socket 'n'.
84

92

85
net.recv
93
net.recv
86
	( s-c )
94
	( s-c )
...
...
250
	used with the other functions.
258
	used with the other functions.
251

259

252
fread
260
fread
253
	( hc-f )
261
	( h-c )
254
	Read a byte from a file ('h'), storing it at address ('c'). Leaves a
262
	Read a byte from a file ('h'). Returns the character read or 0 if at
255
	flag.
263
	EOF.
256

264

257
fwrite
265
fwrite
258
	( ch-f )
266
	( ch-f )
...
...
519

527

520
on
528
on
521
	( a- ) 
529
	( a- ) 
522
	Set a variable to 'TRUE'.
530
	Set a variable to -1.
523

531

524
off
532
off
525
	( a- ) 
533
	( a- ) 
526
	Set a variable to 'FALSE'.
534
	Set a variable to 0.
527

535

528
/
536
/
529
	( xy-q ) 
537
	( xy-q ) 
...
...
827

835

828
fb
836
fb
829
	( -a )
837
	( -a )
830
	Variable. 'TRUE' if canvas exists, 'FALSE' otherwise.
838
	Variable. -1 if canvas exists, 0 otherwise.
831

839

832
fw
840
fw
833
	( -a )
841
	( -a )
...
...
853

861

854
whitespace
862
whitespace
855
	( -a ) 
863
	( -a ) 
856
	Variable. If 'on}}, remap cr, lf, tab to space. If 'off', do not.
864
	Variable. If 'on', remap cr, lf, tab to space. If 'off', do not.
857

865

858
base
866
base
859
	( -a )
867
	( -a )
...
...
1002
	  : foo ;
1010
	  : foo ;
1003
	
1011
	
1004

1012

1005
TRUE
1006
	( -f )
1007
	Return a TRUE flag. 
1008

1009
FALSE
1010
	( -f )
1011
	Return a FALSE flag.
1012

1013
ahead
1013
ahead
1014
	( -a ) 
1014
	( -a ) 
1015
	Compile a jump to 0; leaving the address the jump target is at on the
1015
	Compile a jump to 0; leaving the address the jump target is at on the

Updated doc/wiki/WordsInRetro.txt Download diff

39649651c71bddabb639fe1f02bb11eb8dd109d262b55966a78944a0cf61b110dbea9a84817fdf12
4
== Global Namespace
4
== Global Namespace
5
----
5
----
6
{{{
6
{{{
7
net
8
}}}
9
( - )
10
11
Open or shut the {{{net}}} vocabulary. Shut by default.
12
----
13
{{{
14
files
15
}}}
16
( - )
17
18
Open or shut the {{{files}}} vocabulary. Shut by default.
19
----
20
{{{
7
canvas
21
canvas
8
}}}
22
}}}
9
( - )
23
( - )
...
...
127
{{{
141
{{{
128
net.send
142
net.send
129
}}}
143
}}}
130
( cn-f )
144
( $n-f )
131
145
132
Write character //c// to socket //n//.
146
Write string //$// to socket //n//.
133
----
147
----
134
{{{
148
{{{
135
net.recv
149
net.recv
...
...
412
{{{
426
{{{
413
fread
427
fread
414
}}}
428
}}}
415
( hc-f )
429
( h-c )
416
430
417
Read a byte from a file (//h//), storing it at address (//c//). Leaves a flag.
431
Read a byte from a file (//h//). Returns the character read or 0 if at EOF.
418
----
432
----
419
{{{
433
{{{
420
fwrite
434
fwrite
...
...
870
}}}
884
}}}
871
( a- ) 
885
( a- ) 
872
886
873
Set a variable to {{{TRUE}}}.
887
Set a variable to -1.
874
----
888
----
875
{{{
889
{{{
876
off
890
off
877
}}}
891
}}}
878
( a- ) 
892
( a- ) 
879
893
880
Set a variable to {{{FALSE}}}.
894
Set a variable to 0.
881
----
895
----
882
{{{
896
{{{
883
/
897
/
...
...
1372
}}}
1386
}}}
1373
( -a )
1387
( -a )
1374
1388
1375
Variable. {{{TRUE}}} if canvas exists, {{{FALSE}}} otherwise.
1389
Variable. -1 if canvas exists, 0 otherwise.
1376
----
1390
----
1377
{{{
1391
{{{
1378
fw
1392
fw
...
...
1414
}}}
1428
}}}
1415
( -a ) 
1429
( -a ) 
1416
1430
1417
Variable. If {{{on}}, remap cr, lf, tab to space. If {{{off}}}, do not.
1431
Variable. If {{{on}}}, remap cr, lf, tab to space. If {{{off}}}, do not.
1418
----
1432
----
1419
{{{
1433
{{{
1420
base
1434
base
...
...
1647
}}}
1661
}}}
1648
----
1662
----
1649
{{{
1663
{{{
1650
TRUE
1651
}}}
1652
( -f )
1653
1654
Return a TRUE flag. 
1655
----
1656
{{{
1657
FALSE
1658
}}}
1659
( -f )
1660
1661
Return a FALSE flag.
1662
----
1663
{{{
1664
ahead
1664
ahead
1665
}}}
1665
}}}
1666
( -a ) 
1666
( -a )