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

[REBOL] Re: Loading a pathname from command line parameter

From: ingo:2b1 at: 26-Jun-2001 10:38

Hi John, instead of using load, which will create a block out of your data (test with type? load system/script/args), you should use 'to-file. ***************************** [REBOL [ Title: "Test script" File: %test.r Author: "jwirt" Date: 20-May-2001 Purpose: { Load an email script from command line. } ] messagefile: to-file system/script/args ; ------- probe messagefile change-dir %/k/internettools/rebol/ members: load %addresses.txt send members read %messagefile ] kind regards, Ingo