Hello World (Maple)

From LiteratePrograms

Jump to: navigation, search
Other implementations: Ada | ALGOL 68 | Alice ML | Amiga E | Applescript | AspectJ | Assembly Intel x86 Linux | Assembly Intel x86 NetBSD | AWK | bash | BASIC | Batch files | C | C, Cairo | C, Xlib | Candle | Clojure | C++ | C# | Delphi | Dylan | E | Eiffel | Erlang | Forth | FORTRAN | Fortress | Go | Groovy | Haskell | Hume | IBM PC bootstrap | Inform 7 | Java | Java, Swing | JavaScript | LaTeX | Lisp | Logo | Lua | Maple | MATLAB | Mercury | OCaml/F Sharp | occam | Oz | Pascal | Perl | PHP | Pic | PIR | PLI | PostScript | Prolog | Python | Rexx | Ruby | Scala | Scheme | Seed7 | sh | Smalltalk | SQL | Standard ML | SVG | Tcl | Tcl Tk | Visual Basic | Visual Basic .NET | XSL

This is a trivial Maple Text Hello World program.

<<HelloWorld.txt>>=
> restart:
> "Hello World!";

How to run?

Maple classic worksheet
  1. Select File<Open from the Menu
  2. As filetype, choose Maple Text or All files
  3. Open HelloWorld.txt
  4. In the Text Format Choice dialog box, choose Maple Text
  5. Execute the script by doing one of the following:
    • Select Edit<Execute<Worksheet from the Menu
    • Press the "!!!" button once
    • Press the "!" button twice
    • Put the cursor somewhere on the first line and press "enter" twice
Download code
Views
Personal tools