diff --git a/Expressions-in-Rules.md b/Expressions-in-Rules.md index ad651805..de3db260 100644 --- a/Expressions-in-Rules.md +++ b/Expressions-in-Rules.md @@ -23,14 +23,14 @@ In addition to numeric constants, the following symbolic values can be used: Symbol|Description -|- -|VAR\|variable (\ = `1..MAX_RULE_VARS`, e.g., `VAR2`) -|MEM\|persistent variable (\ = `1..MAX_RULE_MEMS`, e.g., `MEM3`) -|TIME|minutes past midnight -|UPTIME|uptime minutes -|UTCTIME|UTC time, UNIX timestamp, seconds since 01/01/1970 -|LOCALTIME|local time, UNIX timestamp -|SUNRISE|current sunrise time (minutes past midnight) -|SUNSET|current sunset time (minutes past midnight) +VAR\|variable (\ = `1..MAX_RULE_VARS`, e.g., `VAR2`) +MEM\|persistent variable (\ = `1..MAX_RULE_MEMS`, e.g., `MEM3`) +TIME|minutes past midnight +UPTIME|uptime minutes +UTCTIME|UTC time, UNIX timestamp, seconds since 01/01/1970 +LOCALTIME|local time, UNIX timestamp +SUNRISE|current sunrise time (minutes past midnight) +SUNSET|current sunset time (minutes past midnight) Example: `Mem1=((0.5*Var1)+10)*0.7`