Forum Discussion
Anonymous
3 years agoNot applicable
Token then expected error
I am experiencing a token then expected error for the following code with the first AND underlined in red: if [rev] <1 then "Stopped" else if [rev] >= 1 AND [rev] <= 100000 then "Below $100K" else...
- 3 years ago
Hi Anonymous ,
Try writing all the "AND"s in lowercase as "and".
M language is entirely case-sensitive, so this is probably the issue.
Pete
BA_Pete
Super User
3 years agoHi Anonymous ,
Try writing all the "AND"s in lowercase as "and".
M language is entirely case-sensitive, so this is probably the issue.
Pete