Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Bolt on August 19, 2019, 07:47:19 PM
-
Is there an easy way to tell if a string is empty? I don't think STRCMP can do it, without setting a dummy string to be empty. And I also can't create a Symbolic Constant with a string content. What am I missing?
-
without setting a dummy string to be empty.
That's what I do. Works just fine.
Andrew.
-
You could also use the ISCLEAR function
-
The string has a .Length member, so in an equal-to contact, do
MyString.Length = 0
-
The string has a .Length member, so in an equal-to contact, do
MyString.Length = 0
Doh! I already did that in other parts of my program, not sure why that didn't register with me. Thanks!