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

[REBOL] Re: file bug?

From: joel:neely:fedex at: 9-May-2003 14:14

Hi, Hugues, LOADing a string asks for the string itself to be evaluated, while LOADing a file asks for the contents of the file to be evaluated. Common REBOL words often behave differently depending on the type of their operands. -jn- Hugues Moisy wrote:
> Hi Romano, > > I think i don't understand something with Rebol. Can you explain me, please. > > when i do this : > >> load "%s%40a" > == %[s--a] > > I get the evaluation of the string, which is converted to a file datatype. > > when i do this: > >> load %s%40a > == [l1: 1 > l2: 2 > l3: 3 > l4: 4 > l5: 5 > ] > > I get the content of the file. >
-- ---------------------------------------------------------------------- Joel Neely joelDOTneelyATfedexDOTcom 901-263-4446 Counting lines of code is to software development as counting bricks is to urban development.