The Hyper Programming Language

Procedure Call Statement


In Hyper, not every expression can be used as a statement. The only expression that can be used for this is a procedure call.


The syntax for a procedure call statement is identical to an L-value of an assignment.


With a procedure call statement you can call any procedure, also the ones that return a result. Such a result will be discarded.

The only restriction is dat a procedure is effectively called. If only the name of the procedure is specified, then an implicit procedure call is done.


procedure p()
  foo()  # call procedure `foo' (assuming it exists) without arguments
  a.b.c("xyz")  # call procedure `a.b.c' with one argument
  displayGUI  # call procedure `displayGUI' without arguments

See also

Valid HTML 4.01 Strict Valid CSS!