ableos/sysdata/programs/serial_driver_test/src/main.hb

18 lines
300 B
Plaintext
Raw Normal View History

.{string, memory, buffer} := @use("../../../libraries/stn/src/lib.hb")
2024-08-19 13:13:58 -05:00
log_info := fn(): void {
a := buffer.search("XNumber\0")
if a == 0 {
} else {
msg := "XABC\0"
msg_length := string.length(msg)
@eca(void, 3, a, msg, msg_length)
}
return
}
main := fn(): int {
log_info()
return 0
}