[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
TextRider.ReadString not require quotes
- To: ooc-list@informatik.uni-kl.de
- Subject: TextRider.ReadString not require quotes
- From: Ian Rae <ianrae@istar.ca>
- Date: Fri, 26 Jun 1998 22:28:08 -0400
- MMDF-Warning: Parse error in original version of preceding line at uklirb.informatik.uni-kl.de
While we're working on TextRider, here's a suggestion:
Could an option be added that dropped the requirement
for strings to be enclosed in single or double quotes in
ReadString?
When enabled, ReadString and WriteString would be
symmetric.
More importantly, one would be able to use TextRider
to parse ordinary tokens (i.e. anything separated by
whitespace). For example, I wanted to read a list
of module names, selected in a Bbox text
TextRider.Mod In.Mod Out.Mod
Amazingly one could not easily do this with TextRider!
Either one had to wrap the module names in quotes or
do ReadChar (!) or ReadIdent (doesn't work if module starts
with a digit!).
The current behaviour appears to be historical -- Wirth's In.Mod?
--Ian
----------
> From: Michael van Acken <KK120y2@mail.lvr.de>
> To: ooc-list@informatik.uni-kl.de
> Subject: Re: TextRider bug on last token
> Date: Thursday, June 25, 1998 9:11 AM
>
> >>> Mike Griebling <grieblm@trt.allied.com> 25.06.98 12.02 >>>
> >I can't get the TextRider test program to
> >start up. It reports an array range error
> >as soon as it starts at line 10001 in
> >TextRider.
>
> Try to build the program with "--make --all". The new
> TextRider has a different binary interface, because I
> got rid of methods that are local to the module. This
> may interfere if you link it against the old shared
> library. Doing "-MA" works for me.
>
> -- mva
>
>
>