jewuma / mumps-debug

Debugger for MUMPS (M) GT.M / YottaDB
GNU Lesser General Public License v3.0
15 stars 7 forks source link

String relational operator ]] not supported #12

Closed kurtlebreton closed 2 years ago

kurtlebreton commented 2 years ago

Using the ]] operator isn't recognized as valid M code and instead highlights with a red squiggly error in the VSCode editor. I'm using YottaDB. The code is correct. It compiles and runs properly. Please see YottaDB docs for reference.

kurtlebreton commented 2 years ago
YDB>WRITE "A"]]"B"
0
YDB>WRITE "B"]]"A"
1

binary operator causes M to produce a TRUE if the first expression lexically sorts after the second expression in the subscript collation sequence

jewuma commented 2 years ago

Thank you for your report. This should be fixed now.

kurtlebreton commented 2 years ago

Confirming this is fixed in latest version. Many thanks for your efforts in making this project :-)