2022-03-06 18:46:04 +01:00
|
|
|
"#stream.isbpl" include
|
|
|
|
|
|
|
|
func main {
|
|
|
|
pop
|
2022-03-12 20:05:04 +01:00
|
|
|
def id "helloworld.isbpl" STREAM.create.file.out stream =id
|
2022-03-06 18:46:04 +01:00
|
|
|
def s "func main {\n \"Hello World!\\n\" puts\n 0\n}" _array =s
|
|
|
|
|
|
|
|
def i 0 =i
|
|
|
|
while { i s alen lt } {
|
2022-03-12 20:05:04 +01:00
|
|
|
( s i aget ) id STREAM.write stream
|
2022-03-06 18:46:04 +01:00
|
|
|
i inc
|
|
|
|
}
|
|
|
|
|
2022-03-12 20:05:04 +01:00
|
|
|
id STREAM.close stream
|
2022-03-06 18:46:04 +01:00
|
|
|
|
2022-03-06 20:07:48 +01:00
|
|
|
"Testing: \n" struppercase puts
|
2022-03-06 18:46:04 +01:00
|
|
|
"helloworld.isbpl" include
|
2022-03-06 18:47:59 +01:00
|
|
|
main pop
|
2022-03-06 20:07:48 +01:00
|
|
|
"TEST DONE\n" strlowercase puts
|
2022-03-06 18:46:04 +01:00
|
|
|
|
|
|
|
0
|
|
|
|
}
|