

Task

Display the string       Goodbye, World!       on a GUI object   (alert box, plain window, text area, etc.).



Related task

   Hello world/Text


@1Introduction.
Define the structure of the program.
 
@aPROGRAM goodbye world CONTEXT VOID USE standard
BEGIN
@<Included declarations@>
@<Logic at the top level@>
END
FINISH
 
@ Include the graphical header file.
 
@iforms.w@>
 
@ Program code.
 
@<Logic...@>=
open(LOC FILE,"",arg channel);
fl initialize(argc,argv,NIL,0);
fl show messages("Goodbye World!");
fl finish
 
@ Declare the necessary macros.
 
@<Include...@>=
macro fl initialize;
macro fl show messages;
macro fl finish;
 
@ The end.