1
0
Fork 0
forked from AbleOS/ableos
ableos_time/sysdata/programs/serial_driver_test/src/main.hb
2024-09-13 22:41:31 +01:00

18 lines
301 B
Plaintext

.{string, buffer} := @use("../../../libraries/stn/src/lib.hb")
log_info := fn(): void {
a := buffer.search("XNumber\0")
if a == 0 {
} else {
msg := "XABC\0"
msg_length := @inline(string.length, msg)
@eca(void, 3, a, msg, msg_length)
}
return
}
main := fn(): int {
log_info()
return 0
}