Oxygen 2 Misc Documentation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[General]]
[[File Commands]]
[[O2 Comref]]
==comment==
==comment==



Revision as of 14:22, 14 March 2010

General

File Commands O2 Comref

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;