On Wednesday 01 February 2006 12:19, Wendy Smoak wrote:
> I'm probably missing something obvious here...
> What can I use to evaluate the "emptiness" of these arrays, so that 1
> and 2 are considered empty and 3 is not?
>
>    TEST.1 = @VM:@AM:@VM:@VM:@AM:@AM
>    TEST.2 = @VM:@AM:' ':@VM:'  ':@VM:@AM:'   ':@AM
>    TEST.3 = @VM:@AM:' ':@VM:'zzz':@VM:@AM:'abc':@AM

The brute force way:

X = TEST.1
CONVERT @AM:@SM:@VM:@FM:@TM:' ' TO '' IN X
IF LEN(X) > 0 THEN ...


-- 
Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
[EMAIL PROTECTED]
413-559-5556

"Hindsight alone is not wisdom."
                     George W. Bush
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to