-- HW1.ex -----------------------------------------------------------------------
-- A minimal Euphoria program to produce the words "Hello World!" on a DOS-like
-- console.
-- ------------------------------------------------------------------------------
-- print the message on the screen:
-- (puts() can send text to files and other outputs;
-- The "1" in the next line means send the text to the console.
-- The 4 strange characters \n\n make the cursor jump down 2 lines
-- after printing the message).
puts(1, "Hello World!\n\n")
-- use the DOS Pause command to halt so user
-- can see the message
system("Pause",2)
-- Any program line starting with "--" in Euphoria is a comment.
-- Comments are completely ignored by the interpreter
-- So there are really only two executable lines in this program.
-- End of Listing ---------------------------------------------------------------
Conversion to HTML by PC2HTM.EXE