People,
there is a strange effect:
------------------------------------------
Put "2+3" to axInput.txt,
-> iFile : File String := open("axInput.txt", "input")
axInput.txt ...
-> read! iFile
(12) "2+3"
Type: String
(13) -> parse(%)$InputForm
>> System error:
|2+3| is not of type SEQUENCE.
---------------------------------------------------------
The same is when the program transmits it as iStr = read! iFile
parse(iStr)$InputForm
But parse("2+3")$InputForm evaluates to (+ 2 3) : InputForm.
And according to the report of (12) "2+3"
Type: String,
% and ("2+3" : String) are the same.
Where is the error? What is this `|' ?
Thank you in advance for explanation,
------
Sergei
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.