Hi
has anyone had issues with Compare$(,,) function used in flowcode 5. It seems no matter wahat the result remains the same (Valid).
Thanks,
Rick
Compare$(String1,String2,0)
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Compare$(String1,String2,0)
Hello. This is an issue with the v5.2 build. Any other version will work correctly - we are hoping to release a PIC v5.4 by the end of the week that will fix this for PIC users.
The issue is simulation only.
Cheers,
Jonny
The issue is simulation only.
Cheers,
Jonny
-
- Posts: 30
- Joined: Tue Dec 04, 2012 4:03 am
- Has thanked: 1 time
Re: Compare$(String1,String2,0)
I have a similar problem. In my case I get 32 as a result if the case sensitivity is set to 1 and 255 when 0. And this is with two input strings that are equal but not case identical. Just checked my version which is the latest (5.5). Replacing the string variables with literals of the same values works fine. Seems like there is still a bug with the compare$ function.
Jon/JethroNull
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Compare$(String1,String2,0)
Hello,
Could you please post up an example of this problem and I will look into it for you.
Could you please post up an example of this problem and I will look into it for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel