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.
#32187 by joshhuggins
Wed Jan 23, 2008 8:11 pm
Can I have returns in a toolbar sting to help break up long sequences so they are easier to read and edit? Doesn't seem to work. Any other ideas on organizing long code lines? No biggie just wondering if anyone had any other ways of writing there code where it's a little easier to read. TIA. :D

Original Code
Code: Select allHint00=Josh's Preferences
Icon00=Users - Josh
A00=^º^¾^Ä^Í^Ï^Ö^×^Þ^à^ñ^:F9^F3^:^F0^F2^F1^S6^:^F0^F3^F1^:^F0^F6^999$^:^F0^F7^30$^:^F0^F9^30$^:^S1^F5^F1^S9^0.0.1/16$^0.0.1/16$^F2^S9^0$^0$^F3^S9^0$^0$^:^S1^F0^8$^:^S1^S1^0$^:^S2^S2^0$^S3^S0^S4^0$^S5^12$^S6^F2^S0^:^S3^S2^F2^F3^F5^F6^F7^S4^10$^;^S6^S2^F1^0.05$^F2^F1^S0^F3^50$^F4^1$^F5^F1^;^S9^Grid Lock$^F3^S0^;^S7^S6^1$^S0^:^F0^F4^F1^F7^ADE Scales.scl$^;^


Desired "cleaner" code idea
Code: Select allHint09=Joshx's Preferences
Icon09=Users - Josh
A09=^º^¾^Ä^Í^Ï^Ö^×^Þ^à^ñ
^:^F9^F3
^:^F0^F2^F1^S6
^:^F0^F3^F1
^:^F0^F6^999$
^:^F0^F7^30$
^:^F0^F9^30$
^:^S1^F5^F1^S9^0.0.1/16$^0.0.1/16$^F2^S9^0$^0$^F3^S9^0$^0$
^:^S1^F0^8$
^:^S1^S1^0$
^:^S2^S2^0$^S3^S0^S4^0$^S5^12$^S6^F2^S0
^:^S3^S2^F2^F3^F5^F6^F7^S4^10$
^;^S6^S2^F1^0.05$^F2^F1^S0^F3^50$^F4^1$^F5^F1
^;^S9^Grid Lock$^F3^S0
^;^S7^S6^1$^S0
^:^F0^F4^F1^F7^ADE Scales.scl$^

Who is online

Users browsing this forum: No registered users and 33 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