[REBOL] Don't understand basic concept...please help
From: jwirt::toward::com at: 14-Jun-2001 9:01
Can someone fix this simple script. It would help me get a basic
understanding of the Rebol programming concept.
Here is the script I wrote run:
-------beg test.r
REBOL [
Title: "Test script"
File: %test.r
Author: "jwirt"
Date: 20-May-2001
Purpose: { Load a message text file located at
pathname and email to text file of
addresses. The address file is
located in the Rebol directory. The
message text file is not.
]
messagefile: load system/script/args
change-dir %/k/internettools/rebol/
members: load %addresses.txt
send members read load %messagefile
--------end test.r
The script, test.r is located in the Rebol
directory, too. The script is run using the command:
rebol test.r /g/psa106/nanew.txt
I get this error.
...
HTTP protocol loaded
FTP protocol loaded
NNTP protocol loaded
Script: "User Preferences" (20-May-2001/21:00:46-4:00)
Script: "Test script" (20-May-2001)
** Access Error: Cannot open /k/internettools/rebol/messagefile
** Where: do-boot
** Near: send members read %messagefile
>>
Apparently I do not understand how to load the
pathname as a series and then read it in the last
statement.
Thanks for any help.
John Wirt