From 86c37a00dd9ec82c261e3c9f7997051aabaa228b Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Fri, 14 Jul 2023 16:36:10 +0100 Subject: constructors & class methods! "class methods" are not actually a thing, we declare a function for each class, that invokes on the class name and object-id=0 (object-id start from 1 for real objects) --- test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test.sh') diff --git a/test.sh b/test.sh index 058fe07..f161647 100644 --- a/test.sh +++ b/test.sh @@ -26,8 +26,8 @@ class B; do done -bos-object-id/pack-self-into A 0 objA -bos-object-id/pack-self-into B 0 objB +A new-into objA +B new-into objB $objA thing 1 2 3 $objB thing 4 5 6 -- cgit v1.2.3