newLISP Fan Club

Forum => newLISP in the real world => Topic started by: newdep on December 09, 2008, 03:07:43 PM

Title: mind spin with 'let ?
Post by: newdep on December 09, 2008, 03:07:43 PM
Lutz,



is it correct that 'inc is always working on globals ?





(MAIN)-> (delete 'a)

true

(MAIN)-> (let (a 1) (+ a 1))

2

(MAIN)-> a

nil

(MAIN)-> (delete 'a)

true

(MAIN)-> (let (a (inc a)))

nil

(MAIN)-> a

1



a is 1 ?? i dont get it actualy...
Title:
Post by: newdep on December 09, 2008, 11:45:00 PM
goodmorning newdep, have you been checking parenthesis lately ?

Making these strange remarks here isnt very lisp wise...



Yeah i know... i know ;-)