From 3793942103a4db74aa74cafe6ed0ba740755bd9a Mon Sep 17 00:00:00 2001 From: gemu Date: Mon, 5 Aug 2019 13:06:41 +0200 Subject: [PATCH] Updated Scripting Language (markdown) --- Scripting-Language.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Scripting-Language.md b/Scripting-Language.md index 03f10dfa..bc488d05 100644 --- a/Scripting-Language.md +++ b/Scripting-Language.md @@ -210,7 +210,8 @@ then Remarks: The last closing bracket must be on a single line -The condition may not be enclosed in brackets +The condition may be enclosed in brackets +and on the same line conditions may be bracketed e.g. if ((a==b) and ((c==d) or (c==e)) and (s!="x")) `break` exits a section or terminates a `for next` loop `dpx` sets decimal precision to x (0-9) @@ -279,4 +280,4 @@ The script itself can't be set because the size would not fit the mqtt buffers **Subscribe, Unsubscribe** `#define SUPPORT_MQTT_EVENT` -`subscribe` and `unsubscribe` commands are supported. In contrast to rules, no event is generated but the event name specifies a variable defined in `>D` section and this variable is automatically set on transmission of the subscribed item +`subscribe` and `unsubscribe` commands are supported. In contrast to rules, no event is generated but the event name specifies a variable defined in `>D` section and this variable is automatically set on transmission of the subscribed item \ No newline at end of file