Gig of the day: porting newlisp in 3 seconds!

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Locked
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Gig of the day: porting newlisp in 3 seconds!

Post by newdep »

-> (cpymem "Amiga" (address ostype) 6)
6
-> ostype
"Amiga"
-- (define? (Cornflakes))

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

ha, ha !

... but may be dangerous, could be, you are overwriting memory, if the new string is longer than the original one ;-), but is fine when replacing "linux" with "Amiga".

Locked