news
About Elegant Chaos
info
About me and my friends
people
Software from Elegant Chaos
software
Other stuff...
stuff

UL_PutMsg

Revision 1
Revised on 19/03/95 18:29

Description

Display a small text message in a modal dialog window, creating the window if necessary. Takes the message to display.

If an info window is already showing, its text will be replaced by the new text.

Note that this routine requires the Info XCMD.


Code

on UL_PutMsg text
  -- if the window already exists, just update the text
  if there is a window "Info" then
    set the text of window "Info" to text
    
  else
    -- otherwise, create the info window
    Info text,"0,0,300,80",centered
  end if
end UL_PutMsg