I thought I had figured this one out. I have a variable called:
count_1
It's just a vector with one element. As I go through my loops, sometimes it has a value, and at other times it doesn't. All I want to do is ask if it contains anything, and if not, merely loop back around. Right now my script fails because when count_1 is empty, I get this:
missing value where TRUE/FALSE needed Execution halted
Here is my attempt so far:
if (exists("count_1"))
{
#code#
}