f



if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.') Any shorter ?

Hi, there.

=20

I'm just curious if  it ever dawned  on anybody how to abbreviate  this
line :

if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in
('','.')=20

=20

Igor Kurbeko

Clinical Programmer Analyst

678 336 4328

ikurbeko@atherogenics.com

=20

no brain no pain

=20
0
ikurbeko (60)
10/22/2003 9:13:37 PM
comp.soft-sys.sas 142828 articles. 3 followers. Post Follow

1 Replies
2540 Views

Similar Articles

[PageSpeed] 23

how about:

if not (str_mo in ('','.') or str_da in ('','.') or str_yy in
('','.'))

OR

if not (missing(str_mo) or missing(str_da) or missing(str_yy))


Eric


On 22 Oct 03 21:13:37 GMT, ikurbeko@ATHEROGENICS.COM (Igor Kurbeko)
wrote:

>Hi, there.
>
> 
>
>I'm just curious if  it ever dawned  on anybody how to abbreviate  this
>line :
>
>if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in
>('','.') 
>
> 
>
>Igor Kurbeko
>
>Clinical Programmer Analyst
>
>678 336 4328
>
>ikurbeko@atherogenics.com
>
> 
>
>no brain no pain
>
> 

0
eoyount (12)
10/23/2003 4:29:54 PM
Reply: