Saturday, November 21, 2009
Home   |   Search   |   About AUGI   |   My AUGI   |   Join Now

Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP
 Welcome, Guest. 

Login

Join Now FAQ Members List Calendar Search Today's Posts Mark Forums Read

AutoLISP AutoLISP or Visual LISP, learn both here!

Reply
 
Thread Tools Display Modes
Old 2004-06-23, 01:11 PM   #1
csgohjmj
Member
 
Join Date: 2003-12
Posts: 47
csgohjmj is starting their journey
Angry Problem with (nth n lst)

Hi;
I am at my wits end as trying to figure out what went wrong in my lsp prog. which is attached together.

The problem is when I use (nth L vlist1newlist1) to get the individual item of the list but an error occurred, but I could not figure out my mistake. And I sincerely hope you guys could help me out on this. The error is at the end of my prog.

Your help is greatly appreciated.

Thanks.

csgoh
Attached Files
File Type: txt test.txt (12.1 KB, 11 views)
csgohjmj is offline   Reply With Quote
Old 2004-06-23, 03:20 PM   #2
whdjr
I could stop if I wanted to
 
Join Date: 2003-05
Posts: 335
whdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of light
Default RE: Problem with (nth n lst)

csgoh,

It appears it your defun statement for function table1-for-xyz you set nth as a local variable. Thats a nono because you redefined the function definition for nth.
__________________
Good Blockin'

Will DeLoach
AutoCad / ADT 2006
whdjr is offline   Reply With Quote
Old 2004-06-23, 04:38 PM   #3
csgohjmj
Member
 
Join Date: 2003-12
Posts: 47
csgohjmj is starting their journey
Default RE: Problem with (nth n lst)

Many thanks - problem solved.

csgoh
csgohjmj is offline   Reply With Quote
Reply


Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in vla-explode method rajat126 AutoLISP 4 2004-06-23 02:40 PM
Revit PDF Writer 4.2 Installation Problem dnilsson Revit Architecture - General 9 2004-06-16 04:14 PM
Drawing Index Problem! nblevins Revit - Worksharing/Worksets 2 2004-06-15 07:56 PM
2005 Plot Problem / End Program markm.66285 AutoCAD General 3 2004-06-10 08:20 PM
Strange Autocad Viewport Problem razorx Revit Architecture - General 3 2004-06-07 08:19 PM


All times are GMT +1. The time now is 10:59 AM.