C-backend Bool(String)

Everything else that doesn't fall into one of the other PB categories.
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

C-backend Bool(String)

Post by mk-soft »

I use a shortened form to check if a string is empty.
With ASM, a string comparison is performed. With C-backend no longer

Bug or features?

Code: Select all

s1.s = ""
s2.s = "Hello"
r1 = Bool(s1)
Debug r1
r2 = Bool(s2)
Debug r2
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive