REPEAT Function

REPEAT Function

Anonymous
Not applicable
354 Views
1 Reply
Message 1 of 2

REPEAT Function

Anonymous
Not applicable

Hello everyone...Please help.

 

I have a REPEAT function for a loop, but I got the error: 

bad argument type: fixnump: "2", when I "Inspect" through Visual Lisp" it tell me is a STR. 

 

 

Here is my sequence ...

When I click on the OK button, the following is executed:

(action_tile "accept" (strcat "(progn (setq Xcopies (atof (get_tile \"K_Copies\")))"
     "(scr_do_run)" "(done_dialog) (setq userclick T)" ")"); strcat
) ; action

 

 

then under the sector "if userclick"....

; fix - This function converts a real to an integer.
(setq Xcopies (fix Xcopies))                                ; Xcopies is a real
(setq Copies# (nth Xcopies CopyList))

 

 

Then, in the REPEAT function, I'm using the value of Copies#.

my question is: How I can make sure the "Copies#" is a Real without quotes.

I did try different ways without a good result..

 

thank you in advance for your help...

 

DC

 

 

0 Likes
355 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

some one ... please help me

0 Likes