Main Page/Power Words: Difference between revisions

 
(5 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 ==
Line 184 ⟶ 228:
 
[http://www.red-by-example.org/#write (RED-BY-EXAMPLE)]
 
=== Exploring VID ===
 
 
==== Other =====
 
comment
Line 194 ⟶ 240:
 
=== References: ===
 
[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

(RED-BY-EXAMPLE)

print

(RED-BY-EXAMPLE)


about

(RED-BY-EXAMPLE)

?

(RED-BY-EXAMPLE)

??

(RED-BY-EXAMPLE)


help

(RED-BY-EXAMPLE)

source

(RED-BY-EXAMPLE)

what

(RED-BY-EXAMPLE)


keys-of

(RED-BY-EXAMPLE)

reflect

(RED-BY-EXAMPLE)

spec-of

(RED-BY-EXAMPLE)

values-of

(RED-BY-EXAMPLE)

words-of

(RED-BY-EXAMPLE)

Context?

(RED-BY-EXAMPLE)

Same?

(RED-BY-EXAMPLE

GETTING and SETTINGS

Do

(RED-BY-EXAMPLE)

get

(RED-BY-EXAMPLE)

quote

(RED-BY-EXAMPLE)

set

(RED-BY-EXAMPLE)

unset

(RED-BY-EXAMPLE)

unset!

(RED-BY-EXAMPLE)

unset?

(RED-BY-EXAMPLE)


bind

(RED-BY-EXAMPLE)

construct

(RED-BY-EXAMPLE)

context

(RED-BY-EXAMPLE)

extend

(RED-BY-EXAMPLE)

in

(RED-BY-EXAMPLE)

object

(RED-BY-EXAMPLE)

path!

(RED-BY-EXAMPLE)

path?

(RED-BY-EXAMPLE)



REDUCE

(RED-BY-EXAMPLE)

MOLD

(RED-BY-EXAMPLE)

FORM

(RED-BY-EXAMPLE)

REFORM

(RED-BY-EXAMPLE)

REJOIN

(RED-BY-EXAMPLE)


COLLECT

(RED-BY-EXAMPLE)

COMPOSE

(RED-BY-EXAMPLE)

load

(RED-BY-EXAMPLE)

Save

(RED-BY-EXAMPLE)

Read

(RED-BY-EXAMPLE)

Write

(RED-BY-EXAMPLE)

Exploring VID

Other

comment

(RED-BY-EXAMPLE)


References:

(RED-BY-EXAMPLE by Mike Parr and Arie van Wingerden)