

About  Documentation  Download  Links  
Interactive ConvergeConverge can be run in an interactive loop via theconvergei program. This is automatically invoked if the VM is started with no arguments. The ...characters denote the prompt, and other lines output from the interactive session. $ converge Converge current >>> 2 + 3 5 >>> convergei can be exited either by typing CtrlD, or by importing the Sys module and calling Sys::exit(code) where code is a number such as 0.
After each expression, Converge prints out the return value of the expression if it succeeded, or prints nothing if it failed. >>> 18 > 7 7 >>> 7 > 18 >>>
>>> func f(x): ... y := x * 2 ... return y ... <[email protected]> >>> f(3) 6 >>> 

Copyright ©Laurence Tratt 20042011 