Coding question
Thomas Hayes
Posts: 1,164
Dose anyone know if <ctrl-E> <ctrl-E><x30><0d>, can be entered into code and work or does the AMX see the <ctrl-E> as an ENQ ?
0
Comments
Assuming that you are referring to NS2 compiling NetLinx code:
You can put anything you like in a CHAR.
There would be no purpose in putting such a character anywhere else in the code.
This code compiles fine:
I note however that the following code does not compile, which appears to be a compiler bug:
I get "RHS is not a constant" when defining a variable with an initial value which is a string surrounded by double quotes. It compiles OK for a define_constant and the contents of the string have no bearing on it.
Accepting that is the rule, I observe that double quotes seem to work OK in every other comparable situation, which is a trap for young (and old) players.