[SOLVED] SetVariable Command and Merge 2 Variables

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Locked
User avatar
noyzen
Posts: 16
Joined: Fri Jan 01, 2010 2:07 am

[SOLVED] SetVariable Command and Merge 2 Variables

Post by noyzen »

Hi,

in neobook when you want merge 2 variables you can simply user "setvariable" action like this:

SetVar "[part1]" "Hello"
SetVar "[part2]" " Everyone!"
SetVar "[part1][part2]" "[text]"

and text will be "Hello Everyone!"

but i can't do that on neo appbuilder...
how to merge multiple variables into one in neo appbuilder?
Last edited by noyzen on Wed Apr 25, 2018 1:54 pm, edited 2 times in total.
old Neobook user, and now Neo AppBuilder.
i'm Graphic Designer and a Non-Programmer! :)
farhad2008
Posts: 62
Joined: Tue Apr 01, 2008 1:15 am
Location: usa
Contact:

Re: SetVariable Command and Merge 2 Variables

Post by farhad2008 »

hi,

SetVar [part1] "Hello"
SetVar [part2] " Everyone!"
SetVar [text] [part1]+[part2]
The Words I Love You
User avatar
noyzen
Posts: 16
Joined: Fri Jan 01, 2010 2:07 am

Re: SetVariable Command and Merge 2 Variables

Post by noyzen »

thanks Farhad jan :)

No thats not right
i was using action like neobook:

SetVar "[part1][part2]" "[text]"

in neo appbuilder they changed places so right code is:

SetVar [text] "[part1][part2]"
(you have to add " manualy)

:lol:
old Neobook user, and now Neo AppBuilder.
i'm Graphic Designer and a Non-Programmer! :)
farhad2008
Posts: 62
Joined: Tue Apr 01, 2008 1:15 am
Location: usa
Contact:

Re: [Solved] SetVariable Command and Merge 2 Variables

Post by farhad2008 »

Hi noyzen jan
you are right

fadat
The Words I Love You
Locked