Gentee Programming Language > Documentation > Launch Download documentation

ge_execute

This function compiles and runs a Gentee program without saving the bytecode to the file.
 
DWORD WINAPI ge_execute(
      BYTE*   filename,
      BYTE*   args
)

Parameters

filenameFilename for compilation. As this parameter, you can use program’s text instead of filename. At that, the text should begin with program’s name enclosed in angle brackets: <Program’s name>.
argsCommand line arguments for launching resulting bytecode. The arguments should be separated by the “0” symbols. The last argument should be followed by two zeros.

Return value

Nonzero if initialization was successful; otherwise 0.

See also

    Gentee API functions     ge_compile


 Copyright © 2004-2006 Gentee Inc. All rights reserved.