Main Page/Power Words: Difference between revisions

m
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1:
 
= POWER WORDS =
 
-----------------------
'''HELP''' is the first functions you need to know and to get information on RED words.
Here is its usage.
-----------------------
 
=== HELP command Description ===
 
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
 
[http://www.red-by-example.org/#probe (RED-BY-EXAMPLE)]
 
print
 
[http://www.red-by-example.org/#print (RED-BY-EXAMPLE)]
 
 
about
 
[http://www.red-by-example.org/#about (RED-BY-EXAMPLE)]
 
?
[http://www.red-by-example.org/#xqm "?" (From RED-BY-EXAMPLE)]
 
??[http://www.red-by-example.org/#xqm (RED-BY-EXAMPLE)]
 
about
??
help
 
source
[http://www.red-by-example.org/#xqmxqm (RED-BY-EXAMPLE)]
 
help
 
[http://www.red-by-example.org/#help (RED-BY-EXAMPLE)]
source
 
[http://www.red-by-example.org/#source (RED-BY-EXAMPLE)]
what
 
[http://www.red-by-example.org/#what (RED-BY-EXAMPLE)]
 
 
keys-of
 
[http://www.red-by-example.org/#keys-of (RED-BY-EXAMPLE)]
reflect
 
[http://www.red-by-example.org/#reflect (RED-BY-EXAMPLE)]
spec-of
 
[http://www.red-by-example.org/#spec-of (RED-BY-EXAMPLE)]
values-of
 
[http://www.red-by-example.org/#values-of (RED-BY-EXAMPLE)]
words-of
 
[http://www.red-by-example.org/#words-of (RED-BY-EXAMPLE)]
 
Context?
 
[http://www.red-by-example.org/#contextxqm (RED-BY-EXAMPLE)]
 
Same?
 
[http://www.red-by-example.org/#samexqm (RED-BY-EXAMPLE]
 
=== GETTING and SETTINGS ===
 
Do
 
[http://www.red-by-example.org/#do (RED-BY-EXAMPLE)]
 
get
 
[http://www.red-by-example.org/#get (RED-BY-EXAMPLE)]
 
quote
 
[http://www.red-by-example.org/#quote (RED-BY-EXAMPLE)]
 
set
 
[http://www.red-by-example.org/#set (RED-BY-EXAMPLE)]
 
unset
 
[http://www.red-by-example.org/#unset (RED-BY-EXAMPLE)]
 
unset!
 
[http://www.red-by-example.org/#unsetxex (RED-BY-EXAMPLE)]
 
unset?
 
[http://www.red-by-example.org/#unsetxqm (RED-BY-EXAMPLE)]
 
 
bind
 
[http://www.red-by-example.org/#bind (RED-BY-EXAMPLE)]
 
construct
 
[http://www.red-by-example.org/#construct (RED-BY-EXAMPLE)]
 
context
 
[http://www.red-by-example.org/#context (RED-BY-EXAMPLE)]
 
extend
 
[http://www.red-by-example.org/#extend (RED-BY-EXAMPLE)]
 
in
 
[http://www.red-by-example.org/#in (RED-BY-EXAMPLE)]
 
object
 
[http://www.red-by-example.org/#object (RED-BY-EXAMPLE)]
 
path!
 
[http://www.red-by-example.org/#pathxex (RED-BY-EXAMPLE)]
 
path?
 
[http://www.red-by-example.org/#pathxqm (RED-BY-EXAMPLE)]
 
 
keys-of
 
reflect
 
spec-of
REDUCE
values-of
 
words-of
[http://www.red-by-example.org/#reduce (RED-BY-EXAMPLE)]
 
MOLD
 
[http://www.red-by-example.org/#mold (RED-BY-EXAMPLE)]
 
FORM
 
[http://www.red-by-example.org/#form (RED-BY-EXAMPLE)]
 
REFORM
 
[http://www.red-by-example.org/#reform (RED-BY-EXAMPLE)]
 
REJOIN
 
[http://www.red-by-example.org/#rejoin (RED-BY-EXAMPLE)]
 
 
COLLECT
 
[http://www.red-by-example.org/#collect (RED-BY-EXAMPLE)]
 
COMPOSE
 
[http://www.red-by-example.org/#compose (RED-BY-EXAMPLE)]
 
load
 
[http://www.red-by-example.org/#load (RED-BY-EXAMPLE)]
 
Save
 
[http://www.red-by-example.org/#save (RED-BY-EXAMPLE)]
Read
 
[http://www.red-by-example.org/#read (RED-BY-EXAMPLE)]
 
Write
 
[http://www.red-by-example.org/#write (RED-BY-EXAMPLE)]
 
=== Exploring VID ===
 
 
=== Other ===
 
comment
 
[http://www.red-by-example.org/#comment (RED-BY-EXAMPLE)]
 
 
=== References: ===
 
[http://www.red-by-example.org/ (RED-BY-EXAMPLE by Mike Parr and Arie van Wingerden)]