General

Technique to have text display a variable value

Started by midimockup on .

Sign in or create an account to join the conversation.

3 posts

Topic starter
Hey all!

I just wanted to share a simple technique that will allow your text objects to display variable values in Lemur 5. All you have to do is join two strings, the first of which you leave blank.
decl string1='';
decl string2=variablevalue;
decl word=string1+string2;
setattribute(Text,'content',word);
Hope that helps someone out there! Text objects have an advantage over monitors because they use up less FPS.
Best
MOH