What command would do this
xrmichael
Posts: 79
In my previous life i would use something like "recstring+=data" to append the contents of data to recstring. What is the equivalent command in netlinx i have tried the following as a test that should just keep appending the same string and increase the string length
onktrabuffer="onktrabuffer,("'S!6PWR00',$0D,$0A,'E'")" // test line
onktrabuffer="onktrabuffer,("'S!6PWR00',$0D,$0A,'E'")" // test line
0
Comments
Concatenation is done with the comma operator as opposed to Java and other languages where you can use an overloaded +. The code you posted uses a variable as well as constant strings so it should look like this:
onktrabuffer="onktrabuffer, '(S!6PWR00',$0D,$0A,'E)' "
Thats sorted it, the mist is slowly clearing.
Ha ha, gold.