parseAndEvalString*

1 view
Skip to first unread message

Grégory Vanuxem

unread,
May 19, 2026, 2:00:39 PM (8 days ago) May 19
to fricas...@googlegroups.com
Hello Waldek,

I use since this morning (something that sticks in my head)
'parseAndEvalToStringEqNum' in server.boot. You suggested to me to
use, my bad question/response as usual, sorry to all,
'parseAndEvalToString' but my problem was that the index of the
expression used in a "personal" pseudo terminal was returning


parseAndEvalToString str ==
$collectOutput:local := true
$outputLines: local := nil
$IOindex: local := nil
v := CATCH('SPAD_READER, CATCH('top_level, parseAndEvalStr str))
v = 'restart => ['"error"]
NREVERSE $outputLines

parseAndEvalToStringEqNum str ==
$collectOutput:local := true
$outputLines: local := nil
v := CATCH('SPAD_READER, CATCH('top_level, parseAndEvalStr str))
v = 'restart => ['"error"]
NREVERSE $outputLines

Grégory Vanuxem

unread,
May 19, 2026, 2:01:41 PM (8 days ago) May 19
to fricas...@googlegroups.com
Forget the previous mail please.
Reply all
Reply to author
Forward
0 new messages