Op Mon, 23 Apr 2012 12:55:08 +0200 schreef [email protected] <[email protected]>:

Bob,
is aa$, by any chance, a LOCal variable?
Qlib sometimes reports LOCal variables as parameters to external PROCs as invalid.

Regards,
Tobias

Yes it is LOCal, but changing it to Global doesn't make any difference.
That would also not explain why it's failing on Aurora/Qubide to Win and not to Ram or Flp or on QPC.

Bob

-----Original-Nachricht-----
Von: "Bob Spelten" <[email protected]>
An: "[email protected]" <[email protected]>
Betreff: [Ql-Users] UPUT & Qubide
Datum: Mon, 23 Apr 2012 10:20:14 +0200

Can anyone explain this?

I have the following line in a program:
: aa$= PEEK$(address,length): UPUT #c3%,aa$

This reads a line from screen memory and writes this to a _pic file on
win1_.
The ten byte header has already been written to the file channel with
BPUT's.
Qlib reported an error "invalid parameter" for UPUT, on my Aurora.
I checked the parameters, aa$ has length and the channel is valid.
The program and this line does work fine on QPC.

I thought it might have to do with the CF-card I use as win1_, where the
channel is opened.
So I tried my other Aurora, with a real drive as win1_, this gave the same
error.
Then I used ram2_ instead and everything worked as it should.
The picture came out fine.

This looks like a Qubide issue to me.

Bob



--
The BSJR QL software site at: http://members.upc.nl/b.spelten/ql/
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to