On 02/25/2012 05:21 PM, Serge D. Mechveliani wrote:
Dear FriCAS developers,

The Spad of    ... =>  error "Foo" (newline() :: OutputForm)  " Foo"

is compiled by  FriCAS-1.1.5,  and at the run time, it reports

      >>  System error:
   SYSTEM::%EXPAND-FORM: invalid form ("Foo"
      ((|::| (|newline|) (|OutputForm|)) " Foo")

AFAIK, the function "error" expects a string as argument. What you have given, isn't of type String. Maybe you should rather write

  error concat ["foo",newline()::String,"bar"]

(I haven't actually tested it in SPAD, but it works on the command line.)

Ralf

--
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.

Reply via email to