Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Document$ is a string value to be returned by this function as result (could be an error message)
  • Error$ is the error string which will raise an error that gracefully terminates the session if the value is not PENDING and Error$ is not "NullString". This string only controls the error trapping (and can be different from Document$)
  • Caption$ is the title/description of the error that is raised
  •  Mode is an optional parameter to influence the type of buttons presented with the dialog<
    1. Mode% = 0: will create a dialog with Abort/Retry/Ignore buttons. Abort leads to a termination. Pressing the other buttons will continue the process;
    2. Mode% = 1: will create a dialog with OK/Cancel buttons. After pressing OK or Cancel the process will continue;
    3. Mode% = 2: will create a dialog with an OK button. After pressing OK the process will continue;
    4. Mode% = 3: will create a dialog with Retry/Cancel buttons. After pressing Retry or Cancel the process will continue;
    5. Mode% = 4: will create a dialog with Yes/No buttons. Yes leads to continuation of the process, No to a termination;
    6. Mode% = 5: will create a dialog with Yes/No/Cancel buttons. Yes or Cancel leads to continuation of the process, No to a termination;

...