ShortProgName and ProgName Function

Purpose

Returns the 'short' name of the current program.

Syntax

$ = ShortProgName[$]()

$ = ProgName[$]

Description

ProgName[$] returns the directory of the current running application. In the IDE the name of GFA-BASIC 32 is returned.

ShortProgName returns the 'short' MSDOS name (8.3 characters) name of the program.

Example

Debug.Show

Trace ProgName()

Trace ShortProgName()

Remarks

See Also

LongFileName(), LongPathName(), ShortFileName(), ShortPathName(), ShortProgName(), App

{Created by Sjouke Hamstra; Last updated: 12/10/2014 by James Gaite}