Page 1 of 1

Imbedding tab, carriage return, line feed character strings

Posted: 11 Jun 2016 20:05
by joebataz
Hey all,

I change the switch/pad labels depending on certain factors. I use 2 variables to construct the string but can't control where the string will split to 2 line labels. curBank, curPreset are the variables so I'd like to do something like this:

decl a,this;
this = getobject();
a = curBank + <CR or TAB would go here> + curPreset;
setattribute(this,'label',a);

Is this possible?

Thanks!!

Joe B