Variable names and symbols starting with a number.
Kjetil S. Matheussen
k.s.matheussen@notam02.no
Wed Jan 31 19:57:00 GMT 2007
On Wed, 31 Jan 2007, Per Bothner wrote:
> Kjetil S. Matheussen wrote:
>> Its probably useful in some cases,
>
> I have mixed feelings myself, but one area is typesetting
> or GUIs, where you might want to say that something is
> 2cm to the right of something else.
>
> It also is useful for time durations:
>
> (sleep 2s)
>
>> but is there any way to turn it off?
>
> Yes - use escape markers:
>
> #|kawa:1|# '\22gg
> 22gg
> #|kawa:2|# '|22gg|
> 22gg
>
Thanks. My main problem was that I couldn't declare variables
starting with a number though:
#|kawa:876|# (define 3d (<3d-vector>))
/dev/stdin:877:1: parameter is neither name nor (name :: type) nor (name default): (3 d$unit)
Its of course not very important, but if you know of a quick hack...
More information about the Kawa
mailing list