From 18223b231d698ebe293b0018ed0bdad34961afa4 Mon Sep 17 00:00:00 2001 From: kitty Date: Fri, 27 Feb 2026 13:35:21 +1100 Subject: MAKE - it's like create but for arrays and stuff my create works in a way that makes stuff like `create DATA 8 cells allot` will not work correctly. so i chose a synonym for `create` that works in the correct way. --- jefs.fs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jefs.fs b/jefs.fs index 778cc8a..9f74791 100644 --- a/jefs.fs +++ b/jefs.fs @@ -33,6 +33,9 @@ hex : ret, c3 c, ; decimal : literal [compile] lit ; immediate : constant create [compile] lit ret, ; : variable 1 cells allot create [compile] lit ret, ; +\ maybe i made bad design decisions, this is CREATE but it pushes a pointer to just after its definition. for arrays and the like +\ does not use LIT because we want to fill it in After +: make create here @ 18 + [compile] lit ret, ; \ FLOW CONTROL {{{ \ jump helpers from forth83 (got them from pforth tho ehehe) -- cgit v1.2.3