1
0
Fork 0
forked from AbleOS/ableos
ableos/sysdata/programs/tests/src/main.hb
2024-10-25 16:37:38 +01:00

19 lines
326 B
Plaintext

.{log, string, memory, buffer} := @use("../../../libraries/stn/src/lib.hb")
service_search := fn(): void {
a := "\{01}\0"
@eca(3, 0, a, 2)
return
}
main := fn(): int {
//service_search()
buf := "\0\0\0\0"
x := @as(int, 0)
loop if x > 255 break else {
log.info(string.display_int(x, buf, 2))
x += 1
}
return 0
}