Post Reply 
Improved change of integer base
03-01-2014, 11:50 AM
Post: #6
RE: Improved change of integer base
(03-01-2014 10:22 AM)Angus Wrote:  I tried the SETBASE command.
In home view there is a syntax error no matter if I type SETBASE(88), SETBASE(#88), SETBASE (#88,3), SETBASE(88,3) or whatever. Any ideas?

I think you may be in RPN. To use RPN you would have to enter

#88d // d may be omitted if you use system base
4 // To convert to Hex (0: system, 1: bin, 2: oct, 3: dec, 4: hex)
SETBASE(2) // To absorb two arguments from the stack

Sorry about the formatting, but don't know how to do a nice table and multiple spaces are ignored, however // denotes a comment

I don't understand how this supposed to work in CAS but some help may probably be found on the XCAS website.

Cheers, Terje
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Improved change of integer base - Angus - 02-24-2014, 12:12 PM
RE: Improved change of integer base - Terje Vallestad - 03-01-2014 11:50 AM



User(s) browsing this thread: 1 Guest(s)