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
/
version-1-0
/
OSProject
/
p8
/
hello.c
< prev
next >
Wrap
Text File
|
2006-05-17
|
647b
|
26 lines
code hello
-----------------------------------
---- ----
---- The "hello" Program ----
---- ----
-----------------------------------
----------------------------- main ---------------------------------
const stdin = 0
stdout = 1
message = "Hello, world!\n"
function main ()
--
-- This is the prototypical user-level program. It can be executed as
-- a command by typing the name of the executable at the shell prompt.
--
var ignore: int
ignore = Sys_Write (stdout, &message[0], message arraySize)
endFunction
endCode