Displaying Message Boxes

MESSAGEBOXQQ causes your program to display a message box. You can specify the message the box displays and the caption that appears in the title bar. Both strings must be null-terminated C strings. You can also specify the type of message box. Box types are symbolic constants defined in DFLIB.MOD, and can be combined by means of the IOR intrinsic function or the .OR. operator. The available box types are listed under MESSAGEBOXQQ in the Language Reference. For example:

   USE DFLIB
   INTEGER(4) response
   response = MESSAGEBOXQQ('Retry or Cancel?'C, 'Smith Chart   &
  & Simulator'C, MB$RETRYCANCELQWIN .OR. MB$DEFBUTTON2)