Integer with base preserved!

From: Kaz Kylheku (kaz_at_ashi.footprints.net)
Date: 01/20/04


Date: 19 Jan 2004 17:29:13 -0800

Hi, I don't have a clue here. I understand that Lisp is not a
base-sensitive language; it turns everything into base 10. When I
enter an integer as #xFF, later it prints as 255! Is there a function
like:

   (original-number value)

that, given a number, will retrieve the original hex number?

:) :) :) :)



Relevant Pages

  • Re: Integer with base preserved!
    ... I don't have a clue here. ... I understand that Lisp is not a ... > I'm afraid you are confused. ... a $ prefix, as in move.l #$FF, and all dat). ...
    (comp.lang.lisp)
  • Re: Integer with base preserved!
    ... Kaz Kylheku wrote: ... I don't have a clue here. ... I understand that Lisp is not a ... I'm afraid you are confused. ...
    (comp.lang.lisp)
  • Re: Hi! Starting with LISP. Help!
    ... I just started with LISP today. ... I have no clue how to save in LISP. ... and save them as text file in the host file system. ... I've been programming in Java for the last two years. ...
    (comp.lang.lisp)
  • Re: Lisp for low-level Systems Programming
    ... I have no clue how you managed to conclude this. ... X11 has been ... many Lisp environments). ... Professional Software Developer, Amateur Quantum Mechanicist ...
    (comp.lang.lisp)
  • Hi! Starting with LISP. Help!
    ... I just started with LISP today. ... I have no clue how to save in LISP. ... I'm currently downloading ABLE right now. ... I've been programming in Java for the last two years. ...
    (comp.lang.lisp)