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�l. : 01 47 61 46 28


--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.

Reply via email to