<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: weird function? in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211361#M5527</link>
    <description>&lt;P&gt;update:&lt;/P&gt;&lt;P&gt;the issue comedown to this:&lt;/P&gt;&lt;P&gt;at VLIDE console key in this expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MosheA_1-1734167404130.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1445893i7BE6806096C278A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MosheA_1-1734167404130.png" alt="MosheA_1-1734167404130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, return "90", AutoCAD window filp on and the VLIDE pops on the command line, AutoCAD enters to an unstable state, vlide is stuck and can be close only from Task Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could not be i am the only one having this?!&amp;nbsp; (AutoCAD 2024 Vanila)&lt;/P&gt;&lt;P&gt;i have checked Autodesk Access and there are no updates waiting to download.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MosheA_4-1734168092817.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1445896iE426454C20D0B120/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MosheA_4-1734168092817.png" alt="MosheA_4-1734168092817.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Dec 2024 09:27:55 GMT</pubDate>
    <dc:creator>Moshe-A</dc:creator>
    <dc:date>2024-12-14T09:27:55Z</dc:date>
    <item>
      <title>weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190004#M5514</link>
      <description>&lt;P&gt;hey experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following function returns a list of 4 angles and than&amp;nbsp;causes AutoCAD to stuck and the cause of this is (angtos) can any one figure why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;(setq _degrees
   (lambda ()
     (mapcar
       (function
	 (lambda (ang)
	   (angtos ang 0 4)
	 )
       )
       (list (/ pi 4) (* (/ pi 2) 3) (* (/ pi 2) 5) (* (/ pi 2) 7))
     )
   )
 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 17:54:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190004#M5514</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-12-03T17:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190035#M5515</link>
      <description>&lt;P&gt;well this part of your code:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(mapcar
       (function
	 (lambda (ang)
	   (angtos ang 0 4)
	 )
       )
       (list (/ pi 4) (* (/ pi 2) 3) (* (/ pi 2) 5) (* (/ pi 2) 7))
)&lt;/LI-CODE&gt;&lt;P&gt;Returns this:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;("45.0000" "270.0000" "90.0000" "270.0000")&lt;/LI-CODE&gt;&lt;P&gt;But when you do this you get a function:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(lambda ()
     (mapcar
       (function
	 (lambda (ang)
	   (angtos ang 0 4)
	 )
       )
       (list (/ pi 4) (* (/ pi 2) 3) (* (/ pi 2) 5) (* (/ pi 2) 7))
     )
)&lt;/LI-CODE&gt;&lt;P&gt;AutoCAD returns:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;#&amp;lt;SUBR @000001e69554f318 -lambda-&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 03 Dec 2024 18:06:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190035#M5515</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-12-03T18:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190074#M5516</link>
      <description>&lt;P&gt;Exactly, what is the purpose of the outer lambda?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; (setq _degrees (mapcar '(lambda (a) (angtos a 0 4)) (list (* pi 0.25) (* pi 1.5) (* pi 2.5) (* pi 3.5))))&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; ("45.0000" "270.0000" "90.0000" "270.0000")&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;("45" "270" "90" "270")&lt;/P&gt;
&lt;P&gt;...it depends on 'dimzin setting.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 18:33:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190074#M5516</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2024-12-03T18:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190148#M5517</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(setq _degrees (lambda (args)&amp;nbsp; &amp;nbsp;....&amp;nbsp; &amp;nbsp; ))&amp;nbsp; ; create anonymous function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;usage:&lt;/P&gt;&lt;P&gt;(_degrees) ; this returns the list as needed but than AutoCAD stuck&lt;/P&gt;&lt;P&gt;the result is the same even if changing it to regular function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for test, if you replace (angtos) to (rtos) ... autocad does not stuck&lt;/P&gt;&lt;P&gt;(on my laptop on AutoCAD 2024 &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: sorry i had a mistake and fix it but this does not change the result, my AutoCAD get stuck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;(defun degrees ()
  (mapcar
   (function
     (lambda (ang)
       (angtos ang 0 4)
     )
   )
   (list (/ pi 4) (* (/ pi 4) 3) (* (/ pi 4) 5) (* (/ pi 4) 7))
  )
 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 19:30:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190148#M5517</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-12-03T19:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190167#M5518</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry, I tried 2000 and 2025, and I don't see any issues. No lag, no stuck.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, why do you prefer this construct? If I remember correctly, it was not recommended for some reason... What's the benefit of it over a classic named function?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(defun _degrees () ...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: I see you used defun now... anyways, can't replicate the issue. Sorry.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 19:52:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190167#M5518</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2024-12-03T19:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190170#M5519</link>
      <description>&lt;P&gt;no problems in my 2024.1.6 whether (_degrees) or (degrees)&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 19:42:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190170#M5519</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-12-03T19:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190231#M5520</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;By the way, why do you prefer this construct? If I remember correctly, it was not recommended for some reason... What's the benefit of it over a classic named function?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many years ago i saw here some one used it and like it. than i went back to the&amp;nbsp;documentation and read this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#00CCFF"&gt;&lt;SPAN&gt;Use the&amp;nbsp;&lt;/SPAN&gt;lambda&lt;SPAN&gt;&amp;nbsp;function when the overhead of defining a new function is not justified. It also makes your intention more apparent by laying out the function at the spot where it is to be used.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and thought it is more &lt;SPAN&gt;efficient but now that you are asking i have second thoughts, maybe assigning it to a variable&amp;nbsp; actually defines a regular function?!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Moshe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 20:15:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190231#M5520</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-12-03T20:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190299#M5521</link>
      <description>&lt;P&gt;If you ask me, I would probably do something like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun :angtos04 (rad) (angtos rad 0 4))

(setq angdec (mapcar (function :angtos04) (list (/ pi 4) (* (/ pi 4) 3) (* (/ pi 4) 5) (* (/ pi 4) 7))))
or just... &lt;BR /&gt;(setq angdec (mapcar ':angtos04 (list (/ pi 4) (* (/ pi 4) 3) (* (/ pi 4) 5) (* (/ pi 4) 7))))
&lt;/PRE&gt;
&lt;P&gt;But I might not understand the context of your work. Also, I am not a theoretician, so it's just me.&lt;/P&gt;
&lt;P&gt;Still, dunno why you got 'angtos stuck.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 21:02:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190299#M5521</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2024-12-03T21:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190349#M5522</link>
      <description>&lt;P&gt;To me, this would be preferrable and more readable to just assign the list to a variable:&amp;nbsp;(setq degrees '("45.0000" "270.0000" "90.0000" "270.0000"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the point of hiding logic inside a function?&amp;nbsp; What is weird is why those angles and why the different ways to calculate the 270 degree angles?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 21:28:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190349#M5522</guid>
      <dc:creator>dbroad</dc:creator>
      <dc:date>2024-12-03T21:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190580#M5523</link>
      <description>&lt;P&gt;I have used this for use within lisps where need an angle as radians used multiple times in calcs. The function DTR RTD have been used for years so not sure why would need to do multi angles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(setq pi45 (* pi 0.25) pi2 (/ pi 2.) pi135 (* pi 1.25) pi180 pi) &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could do the same for degrees.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 00:11:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13190580#M5523</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2024-12-04T00:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13192176#M5524</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;update:&lt;/P&gt;&lt;P&gt;On my office machine with R2023 it works fine&lt;/P&gt;&lt;P&gt;on my laptop R2024 on new clean installation (only 10 day ago) it stuck&lt;/P&gt;&lt;P&gt;still if i replace (angtos) with (rtos) just for test it does work without...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any way guys thanks&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Moshe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 10:26:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13192176#M5524</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-12-04T10:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13195590#M5525</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I think the lambda function has to be preceded by either an apostrophe or the function function.&lt;/P&gt;&lt;P&gt;The 2nd example starts with (lambda ...) without any prefix so that's as far as it gets... returning the value of the lambda function itself and nothing else.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 18:48:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13195590#M5525</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-12-05T18:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13202245#M5526</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I like your style.&amp;nbsp; Decades ago I adopted a similar convention...&lt;/P&gt;&lt;P&gt;(setq 1/4pi (* 0.25 pi)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1/2pi (* 0.5 pi)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3/4pi (* 0.75 pi)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2pi&amp;nbsp; (* 2 pi)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ;&amp;nbsp; &amp;nbsp; &amp;nbsp;etc.&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;At the time I thought that recalling a value by symbol name had to be faster than the calculation to create the value.&lt;/P&gt;&lt;P&gt;But since those days I think someone here (probably&amp;nbsp;@Kent1Cooper) taught me that unless the value requires numerous steps to create, 'tis faster to create the value on the fly.&amp;nbsp; I don't think I ever tested.&lt;/P&gt;&lt;P&gt;Nevermind.&amp;nbsp; The tests I made on a tiny function revealed a tie.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 23:23:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13202245#M5526</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2024-12-09T23:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211361#M5527</link>
      <description>&lt;P&gt;update:&lt;/P&gt;&lt;P&gt;the issue comedown to this:&lt;/P&gt;&lt;P&gt;at VLIDE console key in this expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MosheA_1-1734167404130.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1445893i7BE6806096C278A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MosheA_1-1734167404130.png" alt="MosheA_1-1734167404130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, return "90", AutoCAD window filp on and the VLIDE pops on the command line, AutoCAD enters to an unstable state, vlide is stuck and can be close only from Task Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could not be i am the only one having this?!&amp;nbsp; (AutoCAD 2024 Vanila)&lt;/P&gt;&lt;P&gt;i have checked Autodesk Access and there are no updates waiting to download.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MosheA_4-1734168092817.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1445896iE426454C20D0B120/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MosheA_4-1734168092817.png" alt="MosheA_4-1734168092817.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2024 09:27:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211361#M5527</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-12-14T09:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211416#M5528</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you're a programmer. you should know the drill... you need to break down the problem into pieces.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(angtos (* pi 0,4) 0 4)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from what see...&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PI symbol, does it behave correctly, what about different calculations?&lt;/P&gt;
&lt;P&gt;ANGTOS function, again, is definition ok? Can't that be redefined?&lt;/P&gt;
&lt;P&gt;Units.. is there an issue with all units conversion, or just decimal? In ACAD, unit setting in a regular drawing, any sort of issues there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can't Windows be an issue? What about some country setting... how about Excel, all good there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't really help you... you don't need to answer all the questions for me...&amp;nbsp;I just wanted to point out possible causes to check, and maybe you'll come across something that will give you a clue and help you resolve the problem. If you've already done so, sorry, but you're not mentioning it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2024 10:56:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211416#M5528</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2024-12-14T10:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211624#M5529</link>
      <description>&lt;P&gt;Stopped using Vlide since Autodesk switched to &lt;A href="https://help.autodesk.com/view/ACDLT/2024/ENU/?guid=GUID-7BE00235-5D40-4789-9E34-D57685E83875" target="_blank" rel="noopener"&gt;VS Code.&lt;/A&gt; I’d recommend the switch&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2024 15:44:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211624#M5529</guid>
      <dc:creator>paullimapa</dc:creator>
      <dc:date>2024-12-14T15:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211638#M5530</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It only happen under vlide on R2024&lt;/P&gt;&lt;P&gt;On R2022 (on the same computer) it is working very well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My machine: normal Laptop with windows 11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2024 15:59:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211638#M5530</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-12-14T15:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211639#M5531</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1137264"&gt;@paullimapa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2024 16:00:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211639#M5531</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-12-14T16:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211735#M5532</link>
      <description>&lt;P&gt;Regards&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the first lambda has been executed.&lt;BR /&gt;What sense would it make to use lambda without arguments and without an expression, on a list. Even more so without an apostrophe or preceded by "function"&lt;/P&gt;
&lt;P&gt;In my opinion, this expression does not make sense. Its evaluation only results in the parameter falat message. But still my C3D will see. 2025, does not crash&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(setq  _degrees
(lambda() (list "45.0000" "270.0000" "90.0000" "270.0000"))
 )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2024 18:54:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13211735#M5532</guid>
      <dc:creator>calderg1000</dc:creator>
      <dc:date>2024-12-14T18:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: weird function?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13212172#M5533</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4920461"&gt;@calderg1000&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4920461"&gt;@calderg1000&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Regards&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/52747"&gt;@Moshe-A&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the first lambda has been executed.&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;What sense would it make to use lambda without arguments and without an expression, on a list. Even more so without an apostrophe or preceded by "function"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;In my opinion, this expression does not make sense. Its evaluation only results in the parameter falat message. But still my C3D will see. 2025, does not crash&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;the answer to this is in my reply on message #7&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;thank you&lt;/P&gt;&lt;P class=""&gt;Moshe&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sun, 15 Dec 2024 09:10:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/weird-function/m-p/13212172#M5533</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2024-12-15T09:10:36Z</dc:date>
    </item>
  </channel>
</rss>

