Tharwat 发表于 2022-7-6 08:51:07

 
It worked for me because I moved the sub-routine to the top of the routine to let variables get values before evaluating each variables' value to become
with the result that we looking forward .

Rod PP 发表于 2022-7-6 08:51:28

Geee, I swear I did try that with my very first try before coming to the forum, but I as it wasnt working at all with me, I didnt think about it anymore.
Thanks Tharwat. =]
 
Anyone who could answer me..
I still dont get the reason for that "distof" before "$value". What exactly does it do to the routine? =/

Tharwat 发表于 2022-7-6 08:56:20

 
From Help document ..
 

pBe 发表于 2022-7-6 09:02:50

 
The point here RodPP is you need to close the dialog before you can invoke getpoint hence the call to (w1_act):
 

(unload_dialog dcl_id)   (w1_act);

Rod PP 发表于 2022-7-6 09:08:21

Thanks Tharwat and pBe.
 
pBe, thanks for the explanation. =)
页: 1 [2]
查看完整版本: Basic LISP + DCL problem