2025-09-27 16:27:00 i'm trying to make a simple word to list files 2025-09-27 16:27:03 https://termbin.com/4ldp 2025-09-27 16:28:11 i assume i can trust pad-minsize and that it will always be a correct value for the pad size, it returns 132 or alike 2025-09-27 16:29:27 it's an init file i have alias f='gforth /home/vms/init.fs' didn't see a init file or env var i could set for a default 2025-09-27 16:29:58 wonder if i can extend it so it becomes better as a scripting language 2025-09-27 18:51:43 "r" is to clear the stack? 2025-09-27 18:51:58 If you're using gforth you can do that with sp0 @ sp! 2025-09-27 18:54:12 1 2 3 4 5 ok 2025-09-27 18:54:15 depth . 5 ok 2025-09-27 18:54:17 sp0 @ sp! ok 2025-09-27 18:54:19 depth . 0 ok 2025-09-27 18:54:21 u 2025-09-27 18:54:23 Whoops - sorry about the u. 2025-09-27 18:54:46 or clearstack 2025-09-27 18:55:14 Even better - I'm no surprised gforth has it as a word - it has practically everything. 2025-09-27 19:03:57 "it has practically everything" - very Forth-like (: 2025-09-27 22:14:19 Mecrisp-Stellaris Forth has everything a embedded designer woulkd need except the C equivalent of headers and Im finishing a design which does that without touching the Forth itself 2025-09-27 22:14:57 but as Mecrisp-Stellaris has a 20kb limit for the kernel and everything, it's 'full' anyway