The DataCAD Developer Network (DDN) is an online resource for information and support for DCAL® (DataCAD Applications Language) developers as well as anyone interested in creating fonts, toolbars, hatch patterns, or linetypes for use in DataCAD.
#75161 by joshhuggins
Fri Nov 09, 2018 1:47 pm
Does Datacad support any form of line continuation or Escape Characters in toolbar macros? Was just looking for a way to visually return my code to make it easier to manage.
#75163 by David A. Giesselman
Fri Nov 09, 2018 2:06 pm
joshhuggins wrote:Does Datacad support any form of line continuation or Escape Characters in toolbar macros? Was just looking for a way to visually return my code to make it easier to manage.

Could you clarify what you mean by "line continuation" character?
#75167 by joshhuggins
Fri Nov 09, 2018 2:27 pm
Some programs support INI files where if you provide the supported escape character at the end of a line, usually \EOL it will skip the imemediate following line break and continue reading on the next actual line as if it were still one logical line. Would look something like this

Code: Select allHint24=Reset GTVs 1-40 To 1/4"
Icon24=Layout32
A24=^:^F0^F4^F1^F7^Joshs Scales.scl$^\EOL
:^S2^F1^F2^F3^F5^S7^S9^\EOL
:^F2^F1^:^S5^F4^F8^:^F2^S6^F1^\EOL
:^F2^F2^:^S5^F4^F8^:^F2^S6^F2^\EOL
:^F2^F3^:^S5^F4^F8^:^F2^S6^F3^\EOL
:^F2^F4^:^S5^F4^F8^:^F2^S6^F4^\EOL
:^F2^F5^:^S5^F4^F8^:^F2^S6^F5^\EOL
:^F2^F6^:^S5^F4^F8^:^F2^S6^F6^\EOL
:^F2^F7^:^S5^F4^F8^:^F2^S6^F7^\EOL
:^F2^F8^:^S5^F4^F8^:^F2^S6^F8^\EOL
:^F2^F9^:^S5^F4^F8^:^F2^S6^F9^\EOL
:^F2^F0^:^S5^F4^F8^:^F2^S6^F0^\EOL
:^F2^S1^:^S5^F4^F8^:^F2^S6^S1^\EOL
:^F2^S2^:^S5^F4^F8^:^F2^S6^S2^\EOL
:^F2^Û^F1^:^S5^F4^F8^:^F2^Û^S6^F1^\EOL
:^F2^Û^F2^:^S5^F4^F8^:^F2^Û^S6^F2^\EOL
:^F2^Û^F3^:^S5^F4^F8^:^F2^Û^S6^F3^\EOL
:^F2^Û^F4^:^S5^F4^F8^:^F2^Û^S6^F4^\EOL
#75170 by joshhuggins
Fri Nov 09, 2018 3:53 pm
David A. Giesselman wrote:Try a '©' (ASCII character 0169)

That doesn't seem to work (if my syntax is correct)

Code: Select allA24=^:^F0^F4^F1^F7^Joshs Scales.scl$^©
:^S2^F1^F2^F3^F5^S7^S9^©
:^F2^F1^:^S5^F4^F8^:^F2^S6^F1^©
:^F2^F2^:^S5^F4^F8^:^F2^S6^F2^©
:^F2^F3^:^S5^F4^F8^:^F2^S6^F3^©
:^F2^F4^:^S5^F4^F8^:^F2^S6^F4^

Who is online

Users browsing this forum: No registered users and 11 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984