Main Page/Power Words: Difference between revisions
m (→POWER WORDS) |
|||
Line 14: | Line 14: | ||
help append |
help append |
||
? system |
? system |
||
? function! |
? function! |
||
Line 20: | Line 22: | ||
? pri |
? pri |
||
? to- |
? to- |
||
Line 25: | Line 28: | ||
? "pri" |
? "pri" |
||
? "issue!" |
? "issue!" |
||
Line 30: | Line 34: | ||
?? - Display a word and the value it references |
?? - Display a word and the value it references |
||
probe - Print a molded value |
probe - Print a molded value |
||
source - Show a function's source code |
source - Show a function's source code |
||
what - Show a list of known functions or words |
what - Show a list of known functions or words |
||
about - Display version number and build date |
about - Display version number and build date |
||
quit - Leave the Red console |
quit - Leave the Red console |
||
⚫ | |||
⚫ | |||
== List of Words == |
== List of Words == |
Revision as of 19:01, 6 April 2019
POWER WORDS
HELP command Description
HELP is the first functions you need to know and to get information on RED words. Here is its output:
Use HELP or ? to view built-in docs for functions, values
for contexts, or all values of a given datatype:
help append
? system
? function!
To search for values by name, use a word:
? pri
? to-
To also search in function specs, use a string:
? "pri"
? "issue!"
Other useful functions:
?? - Display a word and the value it references
probe - Print a molded value
source - Show a function's source code
what - Show a list of known functions or words
about - Display version number and build date
quit - Leave the Red console
List of Words
Words for: Exploring Creating Modifiyng
Exploring
probe
about
?
??
help
source
what
keys-of
reflect
spec-of
values-of
words-of
Context?
Same?
GETTING and SETTINGS
Do
get
quote
set
unset
unset!
unset?
bind
construct
context
extend
in
object
path!
path?
REDUCE
MOLD
FORM
REFORM
REJOIN
COLLECT
COMPOSE
load
Save
Read
Write
Exploring VID
Other
comment