OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: andrew on September 15, 2010, 07:10:19 AM

Title: sending @ symbol to the command line
Post by: andrew on September 15, 2010, 07:10:19 AM
hello gents
Im working on a program to act as a keypad

im using the follow example code to send the numbers to the acad command line and it works
however im not able to get the "@" symbol to be sent to the acad command line.

would anyone have any suggestions on how to achieve this?
any help is appreciated


(defun c:KEYPAD_Form1_TextButton1_OnClicked (/)
  (COMMAND ".75")
(PRINC)
)
Title: Re: sending @ symbol to the command line
Post by: Fred Tomke on September 15, 2010, 10:12:32 AM
Hello, please try (dcl_sendstring "@0.75"). I cannot test it at this time.

Fred
Title: Re: sending @ symbol to the command line
Post by: andrew on September 15, 2010, 11:58:27 AM
Hi Fred,
Thanks for the reply
I tried the sendstring function, and that didnt work.
all i get is:

Command: L
LINE Specify first point:
Specify next point or [Undo]: T

Point or option keyword required.

the way im using it works for my needs but im just unable to get just the "@" symbol to work
or any symbol for that matter.