A simple scripting language in C++
Ferenc Szontágh
2025-04-18 17b3739f756a1e713704b22cce89307308cea2d8
test_scripts/object.vs
@@ -33,4 +33,13 @@
    printnl("Child1 is old enough to go to school.");
} else {
    printnl("Child1 is too young to go to school.");
}
for (string $key, auto $value : $person2) {
    if (typeof($value,"object") == false) {
        printnl("Key: ", $key, " Value: ", $value);
    }else {
        printnl("Key: ", $key, " is an object");
    }
}