From b99cb09a740971b5be91820de977b22aaee25bb2 Mon Sep 17 00:00:00 2001 From: Able Date: Sat, 20 Jul 2024 04:10:15 -0500 Subject: [PATCH] cleanup --- sysdata/programs/tests/src/main.hb | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/sysdata/programs/tests/src/main.hb b/sysdata/programs/tests/src/main.hb index 4c34d32..0d695ea 100644 --- a/sysdata/programs/tests/src/main.hb +++ b/sysdata/programs/tests/src/main.hb @@ -1,16 +1,13 @@ -stn := @use("../../../libraries/stn/src/lib.hb") -log := stn.log -string := stn.string -memory := stn.memory -buffer := stn.buffer +stn := @use("../../../libraries/stn/src/lib.hb"); +.{log, string, memory, buffer} := stn + -/* service_search := fn(): void { - // a := - - return; + a := "\{01}\0" + @eca(void, 3, a, string.length) + + return } -*/ main := fn(): int { // Create a buffer @@ -22,6 +19,8 @@ main := fn(): int { log.info("abc\0") memory.release_page(memory_pages, 3) + window := windo.create_window() + // todo: abstract this out port_str := "\0\{70}\0" a := @eca(u8, 3, 3, port_str, 2)