Angelo2449
Guest
Hello everyone,
I have a problem with the use of the "osmode" variable, this string of code modifies a string, if I execute it with a close "zoom" works perfectly if, instead, the "zoom" is along the strings overlap, in short it does not work well.
evidently "osmode" is not set correctly.
How do I set it up to avoid inconvenience?
Thank you.
I have a problem with the use of the "osmode" variable, this string of code modifies a string, if I execute it with a close "zoom" works perfectly if, instead, the "zoom" is along the strings overlap, in short it does not work well.
evidently "osmode" is not set correctly.
Code:
(Setvar "osmode" 0)
(setq pos15 (- (strlen txt1) 69)
(right setq (substr txt1 (+ pos15 10) 59))
(setq right1 (strcat right "@" point))
(setq cx (right substr 37 11)
(setq cy (substr right 49 11)
(setq cxx (+ (atof cx) 0.50)
(setq cyyy (+ (atof cy) 0.50)
(setq address (strcat (rtos cxx) "," (rtos cyy)))
(command "_erase" address")
(command "_mtext" address "_j" "_bl" "_w" 50 (strcat name quote "{\\h0.01x;" right1 "}") "")
Thank you.