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

[ALLY] Parse Into?? Re:

From: robert:muench:robertmuench at: 31-Jul-2000 10:40

> -----Original Message----- > From: [greg_piney--mcgraw-hill--com] [mailto:[greg_piney--mcgraw-hill--com]] > Sent: Monday, July 31, 2000 3:19 PM > To: [ally--rebol--com] > Subject: [ALLY] Parse Into?? > Is there a way in Rebol to "parse into". What I am trying to do is > to read a line from a file and place each field in specific > variables.
Hi, you can either build up a Rebol source code part, while parsing and later execute it to get the variables into the global context. Or you can create a rule, which creates variable names and directly assign those name the values. It's not a missing feature of parse, you have to dynamically create the code Rebol should execute to create the variable/value pairs. Robert