var'aq Code Snippets


last updated 6 june 2000
The following page is a list of code snippets that will work on various incarnations of var'aq. It's not all-encompassing; it's just interesting stuff.

Name: hello, world
Dialect: English
Version: 5 June 2000
Comments: Not the canonical var'aq "hello, world"; actually prints "What do you want, universe?" in Klingon


~ nuqneH { ~ 'u' ~ nuqneH disp disp } name
nuqneH

Name: add3
Dialect: English
Version: 5 June 2000
Comments: The first "program" ever run on a var'aq interpreter. Adds three numbers together and displays the result.


~ add3 { add add disp } name
3 4 add3

1