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

[REBOL] Re: Basic Script Calling Commands

From: carl:cybercraft at: 24-Dec-2003 22:43

On 30-Oct-03, Ben Minton wrote:
> Hi List. > Today, I bit the bullet, installed another hdd. > Reinstalled RedHat with a GUI. Got Rebol/View. >>> , what is the command to > call any script? > I tried Do %script.r and got an Access Error Message : > cannot find ....
Yes Do's right.
> Does this mean that I have placed Library.r into the > wrong location?
Yes, or that REBOL's startup directory isn't where you think it is. At the REBOL Console enter... what-dir to see what directory REBOL is currently pointing to, and... list-dir to get a directory listing. If REBOL's startup directory isn't the one you want it to be, then you've probably just not entered its path correctly when you installed View. I've had this problem, and found it easiest to just un-install View then re-install it again. To un-install, enter... set-user at the Console and click on un-install. This won't remove View or any important files. All it'll mean is that when you run View again you'll be put through its install process again, including where its home directory should be. This should be entered in REBOL file format. ie %/home/rebol/ or whatever. Hope that helps. (Mostly written from memory, but I think it's correct.) -- Carl Read