Gig of the day: porting newlisp in 3 seconds!

Started by newdep, November 25, 2008, 03:46:46 PM

Previous topic - Next topic

newdep

-> (cpymem "Amiga" (address ostype) 6)

6

-> ostype

"Amiga"
-- (define? (Cornflakes))

Lutz

#1
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".