From fd3c1d12281702895c6affb610ed66c42238f863 Mon Sep 17 00:00:00 2001 From: iPhilip Date: Sat, 27 Dec 2025 06:09:00 -0800 Subject: [PATCH] Update Functions.htm Modified the example to be more consistent with its intended demonstration purpose: non-static local variables of the outer function are ignored. --- docs/Functions.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Functions.htm b/docs/Functions.htm index 52d667221..7d729f545 100644 --- a/docs/Functions.htm +++ b/docs/Functions.htm @@ -349,7 +349,7 @@

Static Functions

x := "outer value" static inner() { x := "inner value" ; Creates a variable local to inner - MsgBox type(inner) ; Displays "Func" + MsgBox x ; Displays "inner value" } inner() MsgBox x ; Displays "outer value"