<?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: Memory VBA Vs Lisp in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/memory-vba-vs-lisp/m-p/2293614#M19149</link>
    <description>Overhead ...&lt;BR /&gt;
&lt;BR /&gt;
"Adesu" &lt;MTEYBID&gt; wrote in message &lt;BR /&gt;
news:5974394@discussion.autodesk.com...&lt;BR /&gt;
I don't understand why memory size VBA(32 Kb) more big from Lisp(1 Kb), that&lt;BR /&gt;
code only create line , look like this&lt;BR /&gt;
Autolisp code&lt;BR /&gt;
[code]&lt;BR /&gt;
(defun c:test (/ p1 p2)&lt;BR /&gt;
  (setq p1 '(0 0 0))&lt;BR /&gt;
  (setq p2 '(10 0 0))&lt;BR /&gt;
  (command "_line" p1 p2 "")&lt;BR /&gt;
  (command "zoom" "e")&lt;BR /&gt;
  (princ)&lt;BR /&gt;
  ) ; defun&lt;BR /&gt;
[/code]&lt;BR /&gt;
&lt;BR /&gt;
VBA code&lt;BR /&gt;
[code]&lt;BR /&gt;
Sub test()&lt;BR /&gt;
Dim ObjLin As AcadLine&lt;BR /&gt;
Dim P1(0 To 2) As Double&lt;BR /&gt;
Dim P2(0 To 2) As Double&lt;BR /&gt;
&lt;BR /&gt;
P1(0) = 0: P1(1) = 0: P1(2) = 0&lt;BR /&gt;
P2(0) = 10: P2(1) = 0: P2(2) = 0&lt;BR /&gt;
&lt;BR /&gt;
Set ObjLin = ThisDrawing.ModelSpace.AddLine(P1, P2)&lt;BR /&gt;
ZoomExtents&lt;BR /&gt;
End Sub&lt;BR /&gt;
[/code&lt;/MTEYBID&gt;</description>
    <pubDate>Thu, 10 Jul 2008 13:19:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-07-10T13:19:21Z</dc:date>
    <item>
      <title>Memory VBA Vs Lisp</title>
      <link>https://forums.autodesk.com/t5/vba-forum/memory-vba-vs-lisp/m-p/2293613#M19148</link>
      <description>I don't understand why memory size VBA(32 Kb) more big from Lisp(1 Kb), that&lt;BR /&gt;
code only create line , look like this&lt;BR /&gt;
Autolisp code&lt;BR /&gt;
[code]&lt;BR /&gt;
(defun c:test (/ p1 p2)&lt;BR /&gt;
  (setq p1 '(0 0 0))&lt;BR /&gt;
  (setq p2 '(10 0 0))&lt;BR /&gt;
  (command "_line" p1 p2 "")&lt;BR /&gt;
  (command "zoom" "e")&lt;BR /&gt;
  (princ)&lt;BR /&gt;
  ) ; defun&lt;BR /&gt;
[/code]&lt;BR /&gt;
&lt;BR /&gt;
VBA code&lt;BR /&gt;
[code]&lt;BR /&gt;
Sub test()&lt;BR /&gt;
Dim ObjLin As AcadLine&lt;BR /&gt;
Dim P1(0 To 2) As Double&lt;BR /&gt;
Dim P2(0 To 2) As Double&lt;BR /&gt;
&lt;BR /&gt;
P1(0) = 0: P1(1) = 0: P1(2) = 0&lt;BR /&gt;
P2(0) = 10: P2(1) = 0: P2(2) = 0&lt;BR /&gt;
&lt;BR /&gt;
Set ObjLin = ThisDrawing.ModelSpace.AddLine(P1, P2)&lt;BR /&gt;
ZoomExtents&lt;BR /&gt;
End Sub&lt;BR /&gt;
[/code</description>
      <pubDate>Mon, 07 Jul 2008 00:09:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/memory-vba-vs-lisp/m-p/2293613#M19148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-07T00:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Memory VBA Vs Lisp</title>
      <link>https://forums.autodesk.com/t5/vba-forum/memory-vba-vs-lisp/m-p/2293614#M19149</link>
      <description>Overhead ...&lt;BR /&gt;
&lt;BR /&gt;
"Adesu" &lt;MTEYBID&gt; wrote in message &lt;BR /&gt;
news:5974394@discussion.autodesk.com...&lt;BR /&gt;
I don't understand why memory size VBA(32 Kb) more big from Lisp(1 Kb), that&lt;BR /&gt;
code only create line , look like this&lt;BR /&gt;
Autolisp code&lt;BR /&gt;
[code]&lt;BR /&gt;
(defun c:test (/ p1 p2)&lt;BR /&gt;
  (setq p1 '(0 0 0))&lt;BR /&gt;
  (setq p2 '(10 0 0))&lt;BR /&gt;
  (command "_line" p1 p2 "")&lt;BR /&gt;
  (command "zoom" "e")&lt;BR /&gt;
  (princ)&lt;BR /&gt;
  ) ; defun&lt;BR /&gt;
[/code]&lt;BR /&gt;
&lt;BR /&gt;
VBA code&lt;BR /&gt;
[code]&lt;BR /&gt;
Sub test()&lt;BR /&gt;
Dim ObjLin As AcadLine&lt;BR /&gt;
Dim P1(0 To 2) As Double&lt;BR /&gt;
Dim P2(0 To 2) As Double&lt;BR /&gt;
&lt;BR /&gt;
P1(0) = 0: P1(1) = 0: P1(2) = 0&lt;BR /&gt;
P2(0) = 10: P2(1) = 0: P2(2) = 0&lt;BR /&gt;
&lt;BR /&gt;
Set ObjLin = ThisDrawing.ModelSpace.AddLine(P1, P2)&lt;BR /&gt;
ZoomExtents&lt;BR /&gt;
End Sub&lt;BR /&gt;
[/code&lt;/MTEYBID&gt;</description>
      <pubDate>Thu, 10 Jul 2008 13:19:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/memory-vba-vs-lisp/m-p/2293614#M19149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-10T13:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Memory VBA Vs Lisp</title>
      <link>https://forums.autodesk.com/t5/vba-forum/memory-vba-vs-lisp/m-p/2293615#M19150</link>
      <description>i thinks when vba creates an object it loads alot more info than lisp.  i.e. if you put a break point at zoom extents you can open up Locals window and view all of the properties and methods that vba deals with and makes ready if needed.</description>
      <pubDate>Thu, 10 Jul 2008 23:39:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/memory-vba-vs-lisp/m-p/2293615#M19150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-10T23:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Memory VBA Vs Lisp</title>
      <link>https://forums.autodesk.com/t5/vba-forum/memory-vba-vs-lisp/m-p/2293616#M19151</link>
      <description>Oh...like that.&lt;BR /&gt;
thanks cadger for your opinion,I appreaciated.&lt;BR /&gt;
&lt;BR /&gt;
&lt;CADGER&gt; wrote in message news:5978902@discussion.autodesk.com...&lt;BR /&gt;
i thinks when vba creates an object it loads alot more info than lisp.  i.e. &lt;BR /&gt;
if you put a break point at zoom extents you can open up Locals window and &lt;BR /&gt;
view all of the properties and methods that vba deals with and makes ready &lt;BR /&gt;
if needed.&lt;/CADGER&gt;</description>
      <pubDate>Fri, 11 Jul 2008 00:45:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/memory-vba-vs-lisp/m-p/2293616#M19151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-11T00:45:13Z</dc:date>
    </item>
  </channel>
</rss>

