Initializing help system before first use

bim2sh

Purpose
Turn a bim file into a shell script.
Synopsis
procedure bim2sh(src:string, dst:string, embed:boolean)
procedure bim2sh(src:string, dst:string)
Arguments
src 
Bim file.
dst 
Destination file name (can be a directory, extension may be omitted).
embed 
Whether to embed the bim file into the script.
Example
 mos2bim("test.mos","test2.bim")
   ! -> mosel comp -o test2.bim test.mos
 bim2sh("test.bim",".",true)
   ! -> CP test2.bim zlib.deflate:deploy.ascii85:tmp:muid1_fe8397b2sh_asc
   ! -> CAT -ft tmp:muid1_fe8397b2sh_scr tmp:muid1_fe8397b2sh_asc .\test2
Further information
1. The operation will be performed only if the src file is newer than the destination file.
2. The destination file will be deleted if the variable runmode is set to "clean".
3. Any execution error will cause a program termination if exitonfail is true.
Related topics

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.