Please enable JavaScript to view this site.

A-Shell Reference

Added November 2014

APN {file{.ext}} {switches}

APN launches an A-Shell Programmer's Notepad (APN) editing session for the specified file.

Switches

Switch

Meaning

/R

Launches file in read-only mode

/T

Traces the search for the default extension list. Default extension list: bas,bp,txt,cmd,do,bsi

/Y

Creates file if non-existent (else asks)

/?

Writes switch listing and usage info to the screen.

 

If the extension is omitted, it searches for an ini.vue file using the same path as VUE does (current [p,pn], [p,0], dsk0:[7,0]) and then uses the DEFAULT statement in the ini.vue for the list of extensions to search. If the ini.vue is not found, it uses a built-in default list of:

.BAS, .BP, .CMD, .DO, .BSI, .BPI, .CPY. .UTL, .INI

Comments

If APN is not already running, it will then be launched. If the specified file.ext is not already being edited in one of the APN windows, a new window (TAB panel) will be opened containing the file. The focus will then be switched APN to facilitate editing. If the file was already open within APN, the only action will be to set the focus on the specified window.

See Also

There is a fair amount of worthwhile information about APN on the MicroSabio's web site

History

2014 November, A-Shell 6.1.1397:  Added function to A-Shell.