1
0
Fork 0
forked from AbleOS/ableos
ableos_time/sysdata/programs/serial_driver_test/src/main.hb
2024-10-23 21:49:40 +01:00

18 lines
306 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)
@as(void, @eca(3, a, msg, msg_length))
}
return
}
main := fn(): int {
log_info()
return 0
}