^ operator
-
Hi,
The ^ operator (string concatenation) doesn't do what I expected it to do (under firmware 3.3.0)
The following work:
- echo "aaa" ^ "bbb"
- var some_var = "aaa" ^ "bbb"
- set some_var = "ccc" ^ "ddd"
I cannot get it to work for:
- M117 "aaa" ^ "bbb"
- M118 "aaa" ^ "bbb"
- M291 R "aaa" ^ "bbb" P"OK"
Perhaps I am doing something wrong.
Thanks.
Frederick
-
-
@pixelpieper said in ^ operator:
This works:
M117 {"foo" ^"bar"}
Got it - I need to use the {} pair for things like M117 - missed that fact somehow.
Thanks very much.
Frederick