Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: REBOL Assign command.

From: nitsch-lists:netcologne at: 28-Dec-2002 22:34

Ed Dana wrote:
> All, > > I don't know if this has ever been done, so I did it myself. Created > something similar to the Assign command on the Amiga. Here is the code:
I may frustrate you, but rebol has assigns inbuild. if you do rebsource: %/c/rebol/source/ you can write do rebsource/howdy.r unfortunally there is no direct way to specify dirs, because of rebol-syntax subsource: rebsource/subdir/ ; does not work use subsource: dirize rebsource/subdir or subsource: join rebsource %subdir/ to read a directory, read rebsource/. additinal hint: rebsource: clean-path %./ gives the absolute path, so you can change directory after that.