REBOL 3.0

Remember help lib, sys, and self

Carl Sassenrath, CTO
REBOL Technologies
23-Oct-2010 7:53 GMT

Article #0347
Main page || Index || Prior Article [0346] || Next Article [0348] || 10 Comments || Send feedback

Just a reminder... beginning in A109 these three lines are useful. Run R3 and type:

? self

? lib

? sys

Gives you an idea of how the main contexts are set up.

Here's a description:

 selfis your user context, where your main script lives. If you didn't provide a script, it's mostly empty.
 libis the export library, and contains all the main functions of the system, as well as any exported module functions.
 sysis the private system context. What used to be intrinsics now live here. Note that words of value 'done indicate functions that concluded their operation (and are being recycled.)

10 Comments

REBOL 3.0
Updated 7-Oct-2024 - Edit - Copyright REBOL Technologies - REBOL.net