[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: XPL: Things executing instead of displaying/printing



Interesting. Your answer implies that all are legal, and the
only problem is that  can produce the ascii-1 along with the
number. So, not to worry?





Reply to note from Harry Binswanger Wed, 22 Dec
2010 16:40:42 -0500

> Is it proper practice to always use for integers?
> Fractions? And then there's no problem with handling those S/Gs
> as numbers in subsequent s?

The practice depends on the desired result. Compare:

;*; (1)
;*; PRompt says "1/2"

with

;*; (2)
;*; PRompt says "0.5"

and

;*; (3)
>;*; PRompt says "0.5"

(3) being a verbose way of saying (2).

--
Carl Distefano
cld@xxxxxxxx


Harry Binswanger
hb@xxxxxxxx