Sha256: 1a3cce215de80aa877ba615de9a7f2c4048537f787f9d6eab2b017f65be85754

Contents?: true

Size: 543 Bytes

Versions: 10

Compression:

Stored size: 543 Bytes

Contents

{{works with|Lisaac|0.13.1}}
You can print to standard output in Lisaac by calling STRING.print or INTEGER.print:

Section Header          // The Header section is required.
  + name := GOODBYE;    // Define the name of this object.

Section Public
  - main <- ("Hello world!\n".print;);

However, it may be more straightforward to use IO.print_string instead:

Section Header          // The Header section is required.
  + name := GOODBYE2;   // Define the name of this object.

Section Public
  - main <- (IO.put_string "Hello world!\n";);

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/hello_world.text/lisaac.txt
zettacode-0.1.6 files.zettacode/hello_world.text/lisaac.txt
zettacode-0.1.6 files.zettacode2/hello_world.text/lisaac.txt
zettacode-0.1.5 files.zettacode/hello_world.text/lisaac.txt
zettacode-0.1.5 files.zettacode2/hello_world.text/lisaac.txt
zettacode-0.1.4 files.zettacode/hello_world.text/lisaac.txt
zettacode-0.1.4 files.zettacode2/hello_world.text/lisaac.txt
zettacode-0.1.3 files.zettacode/hello_world.text/lisaac.txt
zettacode-0.1.2 files.zettacode/hello_world.text/lisaac.txt
zettacode-0.1.1 zettacode.files/hello_world.text/lisaac.txt