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

[REBOL] Re: Problem with load/header and trim/lines

From: antonr:iinet:au at: 5-Mar-2004 17:58

What are you trying to do? My suggestion: don't use trim/lines (or read for that matter). The newline between shebang line and the beginning of the rebol header is removed by trim/lines. I think the rebol header must begin on a new line.
>> probe load/header {# rebol []}
** Syntax Error: Script is missing a REBOL header ** Near: probe load/header "# rebol []"
>> probe load/header {# ^/rebol []}
make object! [ Title: "Untitled" Date: none ;... Type: none Content: none ] Anton.