Please enable JavaScript to view this site.

A-Shell Reference

++PRAGMA FORCE_FSPEC <file specification>

Similar to FORCE_EXT <ext>, this pragma allows you to change the name of the output file generated by the compilation. The name you specify may optionally contain an extension (in which case it overrides the extension previously established by default or by prior pragmas), and it may be in native or AMOS format. It may also contain "%s" to indicate the simple name of the current source file. (This allows you to use a common pragma, perhaps via a ++INCLUDE, which specifies an alternate location for the run file.) Note that in all cases the filespec should be quoted. Examples:

++PRAGMA FORCE_FSPEC "fred"

++PRAGMA FORCE_FSPEC "BAS:MYNAME.RRR"

++PRAGMA FORCE_FSPEC "/vm/miame/run/abcdef"

++PRAGMA FORCE_FSPEC "NEWRUN:%s"