Source language: Translate to:

Multi Variable

Share sample pubs, scripts, etc. with other NeoBook users

Moderator: Neosoft Support

Multi Variable

Postby tungb6 » Sat Dec 27, 2014 8:04 am

How to use Multi Variable in Neobook Script? or how to store muti variable ....
Please tell me how to use the script for using multiVariable.

Thanking you
tungb6
 
Posts: 7
Joined: Sat Dec 20, 2014 1:01 am

Re: Multi Variable

Postby Gaev » Sat Dec 27, 2014 10:02 am

tungb6:

Why are you using this forum to ask a bunch of "how to" questions ? ... it says ...
Sample NeoBook Pubs
Share sample pubs, scripts, etc. with other NeoBook users

There are other forums for asking questions ...like ...
General NeoBook Discussions
General questions about NeoBook

... or ...

NeoBook Action Commands
Questions about using NeoBook's scripting language


How to use Multi Variable in Neobook Script? or how to store muti variable ....
Please tell me how to use the script for using multiVariable.

What is a multiVariable ? ... I searched the Help file and there is not a single reference to this term.
User avatar
Gaev
 
Posts: 3733
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: Multi Variable

Postby tungb6 » Sat Dec 27, 2014 9:53 pm

I am extremely sorry.
My knowledge of ‘Neobook’ is very poor because I am a new user, so I need help...

Thank you...
tungb6
 
Posts: 7
Joined: Sat Dec 20, 2014 1:01 am

Re: Multi Variable

Postby Gaev » Sat Dec 27, 2014 10:20 pm

tungb6:

My knowledge of ‘Neobook’ is very poor because I am a new user, so I need help...

There is nothing wrong with asking questions ... even encouraged ... but please post your question in the appropriately designated forum(s) ... otherwise, future users would miss the benefit of responses ... as they would not think to look in this particular forum.

Anyway, what exactly do you mean by multiVariable ? ... please explain with example/details.
User avatar
Gaev
 
Posts: 3733
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: Multi Variable

Postby dpayer » Fri Jan 02, 2015 3:39 pm

There are different ways to save the variables of a program in NB.

You have a native NB command: SaveVariables
This saves ALL the variables to a single file. You can later load those variables into active memory with the LoadVariables command.

You can also save selective variables in a file, this is the common usage of a .ini file.

Here is a function to write and read ini files.

You can create your own file format for this purpose as well. Then read the file and set the variables one by one. Here is a function to set many variables at once with one command.

Good luck!
David Payer
Des Moines, Iowa
USA
User avatar
dpayer
 
Posts: 1383
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA


Return to Sample NeoBook Pubs

Who is online

Users browsing this forum: No registered users and 1 guest

cron