Source language: Translate to:

[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

[SOLVED] SetVariable Command and Merge 2 Variables

Postby noyzen » Mon Apr 02, 2018 9:36 pm

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! :)
User avatar
noyzen
 
Posts: 12
Joined: Fri Jan 01, 2010 2:07 am

Re: SetVariable Command and Merge 2 Variables

Postby farhad2008 » Mon Apr 02, 2018 11:03 pm

hi,

SetVar [part1] "Hello"
SetVar [part2] " Everyone!"
SetVar [text] [part1]+[part2]
The Words I Love You
farhad2008
 
Posts: 60
Joined: Tue Apr 01, 2008 1:15 am
Location: usa

Re: SetVariable Command and Merge 2 Variables

Postby noyzen » Tue Apr 03, 2018 4:05 am

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! :)
User avatar
noyzen
 
Posts: 12
Joined: Fri Jan 01, 2010 2:07 am

Re: [Solved] SetVariable Command and Merge 2 Variables

Postby farhad2008 » Tue Apr 03, 2018 12:16 pm

Hi noyzen jan
you are right

fadat
The Words I Love You
farhad2008
 
Posts: 60
Joined: Tue Apr 01, 2008 1:15 am
Location: usa


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 2 guests