1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/sysdata/programs/tests/src/main.hb

19 lines
318 B
Plaintext
Raw Normal View History

.{log, string, memory, buffer} := @use("../../../libraries/stn/src/lib.hb")
2024-07-20 04:10:15 -05:00
2024-07-19 05:47:59 -05:00
service_search := fn(): void {
2024-07-20 04:10:15 -05:00
a := "\{01}\0"
2024-09-19 14:40:10 -05:00
@eca(3, 0, a, 2)
2024-07-20 04:10:15 -05:00
return
2024-07-19 05:47:59 -05:00
}
2024-07-07 08:35:07 -05:00
main := fn(): int {
2024-07-23 19:37:43 -05:00
//service_search()
2024-10-15 18:03:23 -05:00
buf := "\0\0\0\0"
x := 0
loop if x == 255 break else {
2024-10-20 07:31:44 -05:00
log.info(string.display_int(x, buf, 10))
2024-10-15 18:03:23 -05:00
x += 1
}
2024-07-19 08:53:45 -05:00
return 0
2024-07-20 12:54:58 -05:00
}