Page 1 of 1

New command: CallStr

PostPosted: Tue Nov 11, 2008 12:12 am
by HPW
After neobook 5.6 introduce other scripting-languages, there are new option to code for neobook.
To open the possibility for scripting authors and plugin developers to write moduls in the new languages,
it would need a command which can call a stringlist from memory like the original command can call from the function-lib.

Code: Select all
CallStr "function name" "Language" "[function code variable]" "function parameters (optional)"


The command CallStr in edit-mode looks also in the subfolder "Functions" for a dummy-file with its name and content like this:

{NeoBook Function}
Version=5.60
Language=VBScript
Param=[%1]|Number|Number to be formatted:
Param=[%2]|Variable|Variable to store result:
{End}


This helps providing a editor interface but no source.
When no dummy file present no interface.
The language-parameter would be one of the 3 current options.

The idea comes from the question here:

http://www.neosoftware.com/forum/viewto ... 7&start=15

Second is it possible to have VBscripts that you can call it and embed in plugin?

PostPosted: Tue Nov 11, 2008 11:32 am
by Neosoft Support
That's an interesting idea. I will add it to the list.