Gfa_Compile and Gfa_DoCompile

Syntax

Gfa_Compile

Gfa_DoCompile

Description

Gfa_Compile compiles and then saves the project as a stand-alone executable (exe), a GFA Editor Extension (.gll), or a GFA-BASIC library (lg32).

Gfa_Compile displays the Compile dialog box to obtain the name of the compiled project, version information and in case of a stand-alone exe its icon.

Gfa_DoCompile compiles the project without displaying the dialog box. However, when a project isn’t compiled before (Gfa_ExeName = ""), the Compile dialog box is shown, like in Gfa_Compile.

Example

 

Sub Gfa_Ex_C

Gfa_DoCompile

EndSub

Remarks

A change in any of the fields of the Compile dialog box changes the project that contains the compiler settings. The Gfa_Dirty flag is set. So, after compiling the project must be resaved.

See Also

Gfa_ExeName, Gfa_ExeTime, Gfa_Dirty

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