News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

if t$ = (a quotation mark)

Started by Mark Laing, May 28, 2011, 01:59:01 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Mark Laing

Is there an escape character for "?
it's the symbol for seconds in the bearing command and I want to check for it in a macro.
It can't be (if t$ = """) can it?
Thanks

Rob S

 I'll try and test it later on, but in other languages you can either use:

chr(34)

or

' " '   Double quote inside single quotes

or

""""  Two Double quotes in a row  inside the double quotes for the string
User since forever

Lar

If a macro is not absolutely necessary you can search for text using Edit menu>Rind/Replace Text, which has lots of features. You can even search within dimensions.

Lar

Mark Laing

Rob : so close. I ended up using chr$(34).
Lar : Well, it's not necassary exactly. It's fun.