From: GaaK on

James M. Prange wrote:
> Well, of course it would "work" differently depending on the
> model, but I can assure you that it is indeed possible using "pure
> RPL", that is, no SYSEVAL, LIBEVAL, FLASHEVAL, or development
> library commands. Actually, I'm not at all sure that development
> library commands would be helpful.

IF LCD-> SIZE NIP #64d == THEN (48Gii or 49G)

.... using 1 PVARS (48Gii error - 49G ok)

----------------------------
49G+ and 50G ?? ... uhmmm

- GaaK -

From: Raymond Del Tondo on
But that's not the same program for all versions,
since it'll compile to a different code (ID vs. PTR) on the SX;-)

However, I have to correct myself:
Nice solution!

Raymond

"GaaK" <2006(a)gaak.org> schrieb im Newsbeitrag
news:1167438702.692527.12820(a)v33g2000cwv.googlegroups.com...
>
> Raymond Del Tondo wrote:
>> Hi,
>> nice try,
>> but the keyword VERSION and H-> don't exist on the SX;-)
>
> 48SX?, then STR-> decompile to 'VERSION' (id), the next line check if
> id or string...
> IF VERSION TYPE 6 == THEN "48SX"
>
> Emu48 (test)
>
> - GaaK -
>


From: GaaK on

Raymond Del Tondo wrote:
> IFERR VERSION
> THEN

error typing VERSION on SX?, I don't understand
It returns id: 'VERSION'

- GaaK -

From: GaaK on
Raymond Del Tondo wrote:
> But that's not the same program for all versions,
> since it'll compile to a different code (ID vs. PTR) on the SX;-)
Yes, the HEX-Data not the same.
Only compatibility with STR-> and STR-> commands (or OBJ->)

> However, I have to correct myself:
> Nice solution!
Thanks ;-)

- GaaK -

From: Raymond Del Tondo on
Mistake has been cleared (see my other post).
I first went another way, with a precompiled UserRPL prog...

So your solution seems ok for me;-)

Raymond

"GaaK" <2006(a)gaak.org> schrieb im Newsbeitrag
news:1167439675.938980.54890(a)v33g2000cwv.googlegroups.com...
>
> Raymond Del Tondo wrote:
>> IFERR VERSION
>> THEN
>
> error typing VERSION on SX?, I don't understand
> It returns id: 'VERSION'
>
> - GaaK -
>