emptyCommand
function emptyCommand:command;
Returns a nonclicked command. The returned command MAY NOT be added to the screen (otherwise the MIDlet will crash), it can only be used for comparing if somthing has been clicked.
var ok, clicked:command;
begin
ok := createCommand('OK', CM_OK, 1);
addCommand(ok);
repeat
clicked := getClickedCommand;
until clicked <> emptyCommand;
if clicked = ok then halt else doSomething...
end.
See also: createCommand, getClickedCommand, addCommand, removeCommand