Please enable JavaScript to view this site.

A-Shell Reference

Navigation: System Commands > COMPIL > Switches

Version 1.4 Compatible

Scroll Prev Top Next More

The V:1 switch attempts to match new features and quirks of the AMOS version of COMPIL.LIT 1.4(309) and higher (released with AMOS 2.3A). Unfortunately, although this version of COMPIL shares the same major and minor version number (1.4) with preceding versions, it introduces some new features and generates RUN modules with various differences, causing them to be incompatible with earlier versions of RUN.LIT. This is true under both AMOS and A-Shell. The main reason for using this switch would be if you are using a source code feature that was not previously supported. Note that even with the /V:1 switch, the A-Shell compiler does not support all of the BASIC 1.4 changes and may not generate the same hash as the AMOS version. Also note that /X:1 and /X:2 both implicitly give you /V:1 features. Features that are activated by /V:1 include:

LOOKUP returns 0.5 for a zero block file
READ’ONLY option on OPEN statements
READ’READ’ONLY statement
ALLOCATE’INDEXED supports the Device param.