TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: DEVITG on June 28, 2004, 10:06:13 PM

Title: (vmon) what it is??????
Post by: DEVITG on June 28, 2004, 10:06:13 PM
On this code
Code: [Select]
; GER (Grados en radianes)
(defun ger(a) ( * pi ( / a 180.0)))
; REG (Radianes en grados)
(defun reg(a) ( * ( / a pi ) 180 ))
;TAN (Grados en radianes)
(defun TAN(a) ( / (sin a ) (cos a)))
;SH (Seno Hiperbolico)
(defun sh(a) ( / ( - (exp a) (exp ( * -1 a))) 2))
;CH (Seno Hiperbolico)
(defun ch(a) ( / ( + (exp a) (exp ( * -1 a))) 2))
;ACOS (Arco coseno)
(defun acos(a) ( atan ( sqrt ( - ( / 1 ( * a a ) ) 1))))
;ASIN (Arco seno)
(defun asin(a) ( atan ( / a ( sqrt ( - 1 ( * a a ) )))))
;PEPE (Arco seno)
(defun PEPE(a) ( * a a ))
(vmon)


What is it , the (VMON)

At the vlisp editor it appear as a resevated function

letters in blue

I did a search on the help, but it give me nothing
Title: (vmon) what it is??????
Post by: Anonymous on June 28, 2004, 10:16:33 PM
It means Virtual Memory ON. This enables AutoLISP virtual function pager!
Title: (vmon) what it is??????
Post by: Serge J. Gianolla on June 28, 2004, 10:20:22 PM
It done it again!! Hey Mark, do you have a system that spits me out when it picks the name?? :o
I answered above, that's twice in a row? :shock:  Is this a record? :oops:
Title: (vmon) what it is??????
Post by: Keith™ on June 28, 2004, 10:22:08 PM
select the "remember me" option and turn on cookies.
Title: (vmon) what it is??????
Post by: DEVITG on June 28, 2004, 10:44:24 PM
Ok

What does it means?????


This enables AutoLISP virtual function pager!
Title: (vmon) what it is??????
Post by: Serge J. Gianolla on June 28, 2004, 11:13:52 PM
You do not have to worry about this anymore. That used to be a function for way back in 10/11... In the early days of AutoCAD, it had to page dwg info out of memory to the disk when needing more memory! The H'disk was being used as virtual memory, but the paging was very slow on DOS. There used to be a ceiling of 45K that was allocated to 640K DOS, bigger programs than that had to use vmon to do paging which unfortunately worked only on user-defined functions but not on variables or strings. Typically programmers where using a CLEAN routine manipulating the ATOMLIST. Maybe that is what you were looking for on a different thread!
Title: (vmon) what it is??????
Post by: DEVITG on June 29, 2004, 07:31:22 AM
how to use the atomlist????