Author Topic: Brick lines on louvers  (Read 10359 times)

0 Members and 1 Guest are viewing this topic.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Brick lines on louvers
« Reply #15 on: March 12, 2004, 09:17:40 PM »
The local function names are declared to keep them local.
You may remove the names if you want as shown below.
It just keeps them from colliding with anything else you
may be running and using the sane names.

Code: [Select]
(defun c:spokes (/          p1       p2       p3       ps
                 pe       fill     r1       r2       lnstart  lnend
                 ang      angoff   circ     usrosmode
                )


Look here for more info.

CAB
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Brick lines on louvers
« Reply #16 on: March 12, 2004, 11:16:18 PM »
that is telling you that the functions that have been defined within the main program are localized to the program only ...
Code: [Select]

(defun thisprog (/ local1 local2)
 (defun local1 ()
  (do this stuff)
 )
 (defun local2 ()
  (do that stuff)
 )
)


This would generate that warning because the defun local1 and local2 are not only defun'd as a nested function of thisprog,  but are also explicitly listed as local in the localize variable list.

Essentially it is telling you that the localized variable local1 is later being defun'd ....
That is inherent with this technique...
It should still operate flawlessly
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Brick lines on louvers
« Reply #17 on: March 13, 2004, 11:06:54 PM »
More food for thought Here
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Anonymous

  • Guest
Brick lines on louvers
« Reply #18 on: March 16, 2004, 01:10:54 PM »
@DEVITG ...that's because you have declared a defined function as a local variable in your main routine...take a look a the thread "Poco Loco" SMadsen does an excellent job of explaining it! :wink:

SMadsen

  • Guest
Brick lines on louvers
« Reply #19 on: March 16, 2004, 02:27:54 PM »
Guest, thanks :)

Thanks CAB for pointing to the excellent discussion on adesk ng ('cept for the last question heh)