forked from AbleOS/ableos
20 lines
349 B
Plaintext
20 lines
349 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"
|
|
// inline is broked
|
|
// msg_length := @inline(string.length, msg)
|
|
msg_length := 5
|
|
@as(void, @eca(3, a, msg, msg_length))
|
|
}
|
|
|
|
return
|
|
}
|
|
|
|
main := fn(): int {
|
|
log_info()
|
|
return 0
|
|
} |