valid_save_binary |
Discworld driver help |
valid_save_binary |
Name
valid_save_binary - controls whether or not an object can save its program
Synopsis
int valid_save_binary( string file );
Description
When the driver is compiled with ALWAYS_SAVE_BINARIES, or an object uses '#pragma save_binary', valid_save_binary is called with the program's filename. If valid_save_binary returns 1, the save will be allowed, otherwise it will not.