From 48d9278f0b75098e83e58c589ea86d006358604d Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Sat, 19 Apr 2025 18:02:04 +0000
Subject: [PATCH] add for ( loop, and docs
---
test_scripts/array.vs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/test_scripts/array.vs b/test_scripts/array.vs
index 10d1b27..798da03 100644
--- a/test_scripts/array.vs
+++ b/test_scripts/array.vs
@@ -17,4 +17,8 @@
int $size = sizeof($array);
-printnl("The size of the $array: ", $size);
\ No newline at end of file
+printnl("The size of the $array: ", $size);
+
+for (int $i = 0; $i < sizeof($intArray); $i++) {
+ printnl("Value: ", $intArray[$i]);
+}
\ No newline at end of file
--
Gitblit v1.9.3