Hi all,
Is there a maximum length of 3 for strings to compare? The attached code works ok but if I try to compare strings 4 elements long it doesn't.
I change the number in the RS232 read string macro to 4 and (for example) string "001" to "0001".
Any ideas please?
Compare string Function
Moderator: Benj
Re: Compare string Function
All seems to work now, I think it was a problem with sending leading zero's. Problem was in hardware not simulator.Dave S wrote:Hi all,
Is there a maximum length of 3 for strings to compare? The attached code works ok but if I try to compare strings 4 elements long it doesn't.
I change the number in the RS232 read string macro to 4 and (for example) string "001" to "0001".
Any ideas please?
