Oxygen 2 Misc Documentation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
==comment== | |||
/* | |||
comments | |||
*/ | |||
// comments | |||
==messageBox [text,nButtons]== | ==messageBox [text,nButtons]== | ||
Line 6: | Line 14: | ||
nButtons is undocumented but probably follows the msoft conventions of ok, cancel, blah, + warning icons | nButtons is undocumented but probably follows the msoft conventions of ok, cancel, blah, + warning icons | ||
nButtons 0: == OK only | |||
==isnil== | ==isnil== |
Revision as of 14:20, 14 March 2010
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;