Please, please, please...

Discuss Lemur and share techniques.
Post Reply
ahonoe
Newbie
Posts:25
Joined:07 Feb 2012 22:30
Please, please, please...

Post by ahonoe » 11 Mar 2014 00:19

It's been a while since I've been by the board. Can anyone tell if arrays have been improved under version 5? Weak implementation was the main reason I lost interest. I need reasonable sizes (more than 127 bytes). Also does version 5 improve text handling?
Regards,

Scott

nick_liine
Liine Staff
Posts:340
Joined:01 Oct 2010 11:06

Re: Please, please, please...

Post by nick_liine » 11 Mar 2014 00:54

Lemur 5.0 now supports string concatenation.

ahonoe
Newbie
Posts:25
Joined:07 Feb 2012 22:30

Re: Please, please, please...

Post by ahonoe » 11 Mar 2014 02:38

Thanks Nick. Where would I find documentation on string concatenation? I did not find it in the V5 addendum.
Regards,

Scott

nick_liine
Liine Staff
Posts:340
Joined:01 Oct 2010 11:06

Re: Please, please, please...

Post by nick_liine » 11 Mar 2014 07:47

Have a look here:
https://liine.net/en/community/user-library/view/455/


You can mix variables and strings with the + symbol:

Code: Select all

f = getobject();
rect = getattribute(f, 'rect');
name = getattribute(f, 'name');
decl text = 'My name is ' + name + ', my width is ' + rect[2] + ', my size is ' + rect[3] + ', my value is ' + x;
setattribute(Text, 'content', text);

Post Reply