Oxygen 2 Misc Documentation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
==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
==isnil==
example:
  if (isnil("_exists")) ExitWith(_file_exists=false;};
  if (!isnil("_exists")) ExitWith(_file_exists=true;};
==nil==
example:
  _dirs= shellCmdOpenPipe("....
{
  process...
}
_dirs=nil;

Revision as of 15:58, 12 March 2010

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

isnil

example:

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

nil

example:

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