Host Engineering Forum
General Category => General Discussion => Topic started by: PLCGuy on August 30, 2016, 09:27:02 AM
-
how do I check to see if a string is empty. I have SL0 and what to detect if it is empty. I was able to detect numbers like 0,1,2,3,4,5 but what is the symbol for empty?
-
SL0.length=0
-
dam it, stop making things so simple, goes right over my head.
-
You can also use the ISCLEAR instruction which will set a bit if the string is clear.
-
greq i will try that one.