FileOpen (AxeDCS)

From Doors CS, Doors CSE, and Doors CE Wiki
Jump to navigationJump to search

You are here : Developers' SDK >> AxeDCS AP system >> FileOpen (AxeDCS)


This function starts a GUI instance for the user to choose a file within DCS7's file system.

Key : 2-PropZInt [stats] [←]


  • openMode : 0 if you want to display only the files with a supported filetype, non-zero else.


Outputs the first byte of the data of the opened file (skips the 8-bytes header) if succeed, 0 else.


This function will move all VAT pointers, so all the variables you previously allocated using GetCalc are now lost, and you'll need to GetCalc them again.


:If FileOpen(0)→P
:.Opening succeed
:.Opening failed