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

[REBOL] Newbie parsing problem (cont'd)

From: richard:coffre:francetelecom at: 29-Mar-2002 16:18

Hi, I have a file containing data as below : GetActiveAccounts:request = activeaccounts GetTransactions:request = ocodereview CancelAccount:request = cancelacc In my code, I try to catch everything before ":request" with the following instructions : texte: read/lines file foreach ligne texte [ if parse/all ligne [ thru "request" copy nom to begin ] [ write/append/lines output trim/head nom ] ] But it raises the following error : ** Script Error: begin has no value ** Near: if parse/all ligne [thru "request" copy nom to begin] Any ideas ? and for everybody Happy Easter Richard Coffre France Telecom Orbiscom T=E9l. : 01 47 61 46 28