Macro Toolworks Products Discussion Forums :: General Discussion
Welcome Guest   
 Subject :adding text together.. 24-08-2011 14:52:11 
hugblue@hotmail.com
Joined: 13-10-2010 01:09:07
Posts: 100
Location: sweden
today there was a new problem. normally i need just to use text lines
without changes. but today i needed to put 2 text lines together to 1.

the problem here is that i never know how many lines there are. could
be 1 and up to x. so to make it work all lines no matter how many,
have to be merged into 1 line.

i have tried use append and that function ok. if its 2 lines.

so i cannot see how i can merge an x amount of lines together.

so please help. if anybody have a solution. to easy merge an x
amount of lines together.

thx.
IP Logged
 Subject :Re:adding text together.. 28-08-2011 16:44:23 
petr
Joined: 15-10-2009 11:48:52
Posts: 152
Location
Hello,

this command

<var_oper>(...,TEXT_GET_NUMOFLINES,....) provides you with the number of the lines in the text. You can use <var_oper>(...,TEXT_GET_LINE,....) in <begloop> and <endloop> cycle to read all text lines and create just one....
IP Logged
 Subject :Re:adding text together.. 03-09-2011 07:00:39 
hugblue@hotmail.com
Joined: 13-10-2010 01:09:07
Posts: 100
Location: sweden
thz petr.
IP Logged
Page # 


Powered by ccBoard


Login and share your experience - send messages to forums and add comments to samples, commands and other resources.



Account is free of charge, easy to setup.