This did not work! :(

I just replied to Dadivd Wagner's note, with the entire code, which, 
BTW, is heavily domumented! :)

Something I got into the habit of doing back in QB 4.5 days! :)

Didn't know that perl did not support NULL! :( :(

Anyway, any other suggetions would be greatly appreciated! :)

thanks,

Chris

Tanton Gibbs wrote:

>I'm not sure what you want here, but there is no NULL in perl.
>
>You might mean undef or 0, in which you can just say
>if( !$i ) {
> ...
>}
>
>HTH,
>Tanton
>----- Original Message ----- 
>From: "Chris Anderson" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Saturday, January 26, 2002 12:35 PM
>Subject: Trying to get NULL with use strict; - How???
>
>
>>The following code fails:
>>
>>                if ( $i != NULL ) {   
>>                    if ($j < 10) {
>>                        print DUMPFILE "     $j) ", "$value[$i]\n" ;
>>                    } else {
>>                        print DUMPFILE "    $j) ", "$value[$i]\n" ;
>>                    }
>>                }
>>as I have:
>>
>>use strict;
>>
>>At the very top.
>>
>>But I need a way to check and see if the array is empty...
>>
>>(4 items, but can have 20)
>>
>>How would I do this???
>>
>>TIA!
>>
>>
>>-- 
>>
>>Chris Anderson
>>
>>
>>
>>
>>-- 
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>


-- 

Chris Anderson
CTO
C&P Enterprises
http://www.candp-ent.com/


Reply via email to