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

[REBOL] Re: PARSE question

From: agem:crosswinds at: 31-Mar-2001 17:35

>We are parsing large files as blocks. If there is an >error somewhere, how can we find out where the error >was? Can we get a count of items parsed correctly? >
yes parse something [any[ before-the-try: some parsing (counter: counter + 1) ]] in 'before-the-try you get the parse-position before the failed try, in counter the count of trys.