Oxygen 2 Misc Documentation

From Bohemia Interactive Community
Revision as of 14:20, 14 March 2010 by Mikero (talk | contribs)
Jump to navigation Jump to search

comment

/* comments

  • /

// comments

messageBox [text,nButtons]

Returns ID of pressed button

Shows message box with text and buttons.

nButtons is undocumented but probably follows the msoft conventions of ok, cancel, blah, + warning icons

nButtons 0: == OK only


isnil

example:

 if (isnil("_exists")) ExitWith(_file_exists=false;};
 if (!isnil("_exists")) ExitWith(_file_exists=true;};

nil

example:

 _dirs= shellCmdOpenPipe("....
{
  process...
}
_dirs=nil;