Page 1 of 1

Read action code from text file

PostPosted: Tue Feb 16, 2010 12:04 pm
by Tony Kroos
I am not very familiar with neobook yet, so maybe it's already implemented :) So, it would be nice if we could read (load) neobook action's code from an external text file and execute it automatically, just like a normal action code (or subroutine). Maybe we could load it to some specified object (but loading to subroutine will be more universal method). This will give some advantages, for example in case we need to develop any small updates (fixes) for publication and so on...

PostPosted: Tue Feb 16, 2010 12:15 pm
by HPW
The call function does that job.
When you call it with a function which does not exist in the function folder, then it looks for a external file.

Use the forum search with 'call and external'.

One of the founded posts:

http://www.neosoftware.com/forum/viewto ... l+external

Or you might have a look at hpwPlayAction which even executes a action-string stored in a variable.

PostPosted: Tue Feb 16, 2010 5:39 pm
by Tony Kroos
HPW wrote:a function which does not exist in the function folder, then it looks for a external file

hmm... thanks for pointing me!
HPW wrote:hpwPlayAction which even executes a action-string stored in a variable.

HMMM? :shock: then it is what I may need, thanks again. Maybe this topic should be moved to "General discussion", there is nothing to suggest anymore )...