home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.pdx.edu
/
2014.02.ftp.ee.pdx.edu.tar
/
ftp.ee.pdx.edu
/
pub
/
users
/
Harry
/
Blitz
/
OSProject
/
p1
/
HelloWorld.c
< prev
next >
Wrap
Text File
|
2007-09-19
|
391b
|
25 lines
code Hello
-- This is the "hello world" program, for use in Project 1.
function main ()
print ("Hello, world...\n")
--foo (10)
endFunction
function foo (x: int)
bar (x+1)
endFunction
function bar (a: int)
var b: int
b = a + 1
print ("The value of b is ")
printInt (b)
nl ()
debug
bar (b)
endFunction
endCode