I created the following function, but it seems it doesn't work:
Code: Select all
(setq clientParams
'(
(action "my action")
(selMenu "sel menu 1")
(param1 "my param 1")
(param2 "my param 2")
)
);clientParams
(define-macro (clientParams-get argKey)
(println (lookup argKey clientParams) )
);define
Code: Select all
> (clientParams-get 'action)
nil
nil
>
Please help me, I'm creating my first application in NewLisp in the company where I work, and I need to give a good impression about this language!
Thank you!