progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#1659 by tammons
Thu Oct 13, 2011 10:50 pm
Been working in R14 for years so I am behind the curve,
For user variable return I have always used....

!variablename>enter

For instance...
In Progecad...
if I type at the command line...

(setq test 1000)

If I want to check the value of the user variable "test" in R14 at the command line I just type !test>enter

R14 would then return 1000

This does not seem to work on progecad 11.
What is the command in progecad ??

Thanks

#1679 by caddit
Mon Oct 24, 2011 4:50 am
Dear tammons,


We confirm that this shorthand is indeed not supported in progeCAD 2011 but should be available in the next release.

the alternative method to display the variable value is to employ the print fucntion:
e.g.
Code: Select all(setq check"test")
sets the "test" value to the check variable
Code: Select all(print check)
will display the variable value twice: "test""test".