Main Page/Power Words: Difference between revisions
m (→Exploring) |
m (→POWER WORDS) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= POWER WORDS = |
= 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 == |
== List of Words == |
||
Line 64: | Line 108: | ||
words-of |
words-of |
||
[http://www.red-by-example.org/#words-of (RED-BY-EXAMPLE)] |
[http://www.red-by-example.org/#words-of (RED-BY-EXAMPLE)] |
||
Context? |
|||
⚫ | |||
[http://www.red-by-example.org/# |
[http://www.red-by-example.org/#contextxqm (RED-BY-EXAMPLE)] |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
Same? |
Same? |
||
Line 83: | Line 119: | ||
=== GETTING and SETTINGS === |
=== GETTING and SETTINGS === |
||
Do |
|||
[http://www.red-by-example.org/#do (RED-BY-EXAMPLE)] |
|||
get |
get |
||
Line 171: | Line 211: | ||
COMPOSE |
COMPOSE |
||
[http://www.red-by-example.org/#compose (RED-BY-EXAMPLE)] |
[http://www.red-by-example.org/#compose (RED-BY-EXAMPLE)] |
||
⚫ | |||
[http://www.red-by-example.org/#load (RED-BY-EXAMPLE)] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
Write |
|||
[http://www.red-by-example.org/#write (RED-BY-EXAMPLE)] |
|||
=== Exploring VID === |
|||
=== Other === |
|||
comment |
comment |
||
Line 181: | Line 240: | ||
References: |
=== References: === |
||
[http://www.red-by-example.org/ (RED-BY-EXAMPLE by Mike Parr and Arie van Wingerden)] |
[http://www.red-by-example.org/ (RED-BY-EXAMPLE by Mike Parr and Arie van Wingerden)] |
Latest revision as of 19:03, 6 April 2019
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
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