Functions should also be saved in Archive Backup

Post your suggestions for future versions of NeoBook

Moderator: Neosoft Support

Locked
User avatar
fkapnist
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece
Contact:

Functions should also be saved in Archive Backup

Post by fkapnist »

Neobook's "Archive Backup" saves to a folder all the publication's source files, such as text, images and multimedia. But it should also save the unique functions used by the publication. Sometimes you may use the same function for various publications - with slight modification. If you do not take note of such changes in a function and fail to save a working version of it, your publication may not work. Hmm... Having a clean copy of the desired function in your backup archive can really save the day.

:shock:

.
User avatar
dpayer
Posts: 1394
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Re: Functions should also be saved in Archive Backup

Post by dpayer »

It should be possible to embed the function file (a text file with no file extension) in your pub and then extract it and use it. I am not sure about the syntax but I think you'd do a

call "[pubdir]myfunction" "[%1]" "[%2]" etc

referencing the file from the file system.
David Payer
Des Moines, Iowa
USA
User avatar
fkapnist
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece
Contact:

Re: Functions should also be saved in Archive Backup

Post by fkapnist »

dpayer wrote:It should be possible to embed the function file (a text file with no file extension) in your pub and then extract it and use it. I am not sure about the syntax but I think you'd do a

call "[pubdir]myfunction" "[%1]" "[%2]" etc

referencing the file from the file system.

For the time being, I have simply been making manual backups of Functions used by more than one PUb.... FunctionPub1, FunctionPub2... etc... The Archive folders seems like the most logical place for it
Locked