Alan Interactive Fiction Language

Alan Interactive Fiction Language

Alan Interactive Fiction Language

Adventure Writing for Everyone

  • Increase font size
  • Default font size
  • Decrease font size

A code sample

EmailPrint

Here's a small code snippet, mostly to test automatic Alan source code formatting on the Alan Home site.

The code traverses a set of components of a structure, say a table, and makes each component list its content. 

-- Loop over all components in an instance or class
For Each c In components Of This Do
    "The table has" Say An c. "." List c.
End For.

 

 

RSS Feed

Log in or register

Latest Development Snapshots