3.2.11. Saving Binary File

[<<<] [>>>]

Before executing the loaded program the application may save the compiled binary version of the program. This can be done calling the function scriba_SaveCode() to save the binary code into a specific file, or calling the function scriba_SaveCacheFile() to save the binary code into the cache with an automatically calculated name.

    if( szOutputFile ){
      if( isCoutput )
        scriba_SaveCCode(pProgram,szOutputFile);
      else
        scriba_SaveCode(pProgram,szOutputFile);
      if( !execute )exit(0);
      }
     if( ! nocache )scriba_SaveCacheFile(pProgram);
 

[<<<] [>>>]