From fc5683ead57ef84abc10f25e3a8c5c207e391b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Hula?= <68820052+mh-cz@users.noreply.github.com> Date: Thu, 7 Mar 2024 12:45:44 +0100 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7889929..5a4e487 100644 --- a/README.md +++ b/README.md @@ -41,4 +41,17 @@ To break the loop use `fe_break;` To continue the loop use `fe_continue;` While using `fe_return` you need to pay attention how "deep" the return is. If `fe_return` is called in a nested fe loop you have to specify how many fe loops to break using the depth parameter otherwise the stack doesn't get cleared right and it will cause unpredictable behaviour. - + +### Examples +``` +var st = { one: 1, two: 2 }; + +foreach st into v exec + show_debug_message(fe.key + " " + string(v)); +``` + + + + + +