"+" Operator
Posted: Thu Dec 05, 2024 4:35 pm
XS0023: Operator '+' cannot be applied to operand of type 'string'
I have the follwing code generating an error:
note the "+" after the += assignment. In VO this doesn't give any error, I guess that it simply get ignored. In X# it gives the error above.
I know that is a typo in my code but I don't know if this is an intended behaviour or not.
regards
Stefano
I have the follwing code generating an error:
Code: Select all
cHeader1 += + '","' + Space( 14 ) + '","' + Space( 14 )
cHeader2 += + '","' + PadL( cMillHeader, 14 ) + '","' + PadL( "Quota", 14 )
I know that is a typo in my code but I don't know if this is an intended behaviour or not.
regards
Stefano