Strings as Expressions?

Discuss Lemur and share techniques.
Post Reply
brianc
Regular
Posts: 87
Joined: 10 Jan 2012 02:16

Strings as Expressions?

Post by brianc »

I'm trying to save a description as a variable. To do this, I'm using the "Create Expression" button, naming it "description", and trying to set the value to "Reverb". It seems expressions can only be set to numbers or numeric return values from functions.

Is there any way to store a string? I'm trying to use it to concatenate that string to a message in a Text object, e.g. "Changing Value for Reverb", where "Reverb" is whatever I set the value to be.
axel_liine
Liine Staff
Posts: 126
Joined: 14 Dec 2011 12:12

Re: Strings as Expressions?

Post by axel_liine »

You can set it to 'Reverb' (single quotes instead of double).
Note that there are no concatenation functions at the moment, so you'll have to use two Text objects.
brianc
Regular
Posts: 87
Joined: 10 Jan 2012 02:16

Re: Strings as Expressions?

Post by brianc »

Thanks Axel!

Added strcat() and sprintf() like functions to the wishlist... :)
http://liine.net/forum/viewtopic.php?f=28&t=961
Post Reply