Martin Baker wrote:
>
> I have a problem with 'outputList'. It works fine in the interpreter:
>
> (1) -> outputList(["abc",1])
> abc1
>
> Type: Void
>
> but in the compiler I get:
>
> >> Apparent user error:
> Cannot coerce abc
>of mode abc
>to mode (Union (:
On 22/11/15 07:45, Alasdair McAndrew wrote:
Try
outputList(["abc",1])@Void
At least, that seemed to work for me.
-Alasdair
Hi Alasdair,
Its still not working for me, in 'OutErr1', listed below, I am getting
the following compile error:
>> Apparent user error:
NoValueMode
is an
On 22/11/15 09:57, Alasdair McAndrew wrote:
Ahh, well I just did it in a *.input file, using the interactive
language rather than SPAD. Maybe you need to give the output type of
myFn, as in
myFn(inp:Boolean):Boolean==
outputList(["abc",1])@Void
inp
But I really don't know, as whenever I
Ahh, well I just did it in a *.input file, using the interactive language
rather than SPAD. Maybe you need to give the output type of myFn, as in
myFn(inp:Boolean):Boolean==
outputList(["abc",1])@Void
inp
But I really don't know, as whenever I try and write in SPAD I always get
errors. So