<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Trebuchet MS" size=2>if (defined($fields[13]) {</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2>&nbsp; # se entrou é pq $fields[13] está 
definido</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2>}</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS" size=2># senão é pq não tem nenhum valor real 
nele</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=ptfzs@yahoo.com.br href="mailto:ptfzs@yahoo.com.br">Patty Silva</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=cascavel-pm@pm.org 
  href="mailto:cascavel-pm@pm.org">Cascavel Perl Mongers</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 10, 2007 3:23 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cascavel-pm] Duvida campo 
  numerico</DIV>
  <DIV><BR></DIV>Nao resolveu :?(<BR>usei:<BR><BR>if(!defined($fields[13]) 
  &amp;&amp; $fields[13] eq 
  '"')<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  {<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  print 
  "zero";<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  }<BR><BR><BR><BR><B><I><A 
  href="mailto:fernandolouis@terra.com.br">fernandolouis@terra.com.br</A></I></B> 
  escreveu:
  <BLOCKQUOTE class=replbq 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
    <META content="MSHTML 6.00.6000.16525" name=GENERATOR>
    <STYLE></STYLE>

    <DIV><FONT face="Trebuchet MS" size=2>Utilize "defined", acho que 
    resolve.</FONT></DIV>
    <DIV><FONT face="Trebuchet MS" size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face="Trebuchet MS" size=2>[]s,</FONT></DIV>
    <DIV><FONT face="Trebuchet MS" size=2>Fernando</FONT></DIV>
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- 
      Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B> 
      <A title=ptfzs@yahoo.com.br href="mailto:ptfzs@yahoo.com.br">Patty 
      Silva</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B> 
      <A title=cascavel-pm@pm.org href="mailto:cascavel-pm@pm.org">Cascavel Perl 
      Mongers</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B> 
      Wednesday, October 10, 2007 3:05 PM</DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B> 
      [Cascavel-pm] Duvida campo numerico</DIV>
      <DIV><BR></DIV>Ola Pessoal..<BR>pintou uma duvida aqui<BR><BR>tenho uma 
      variavel= 0.0<BR>so que ela pode mudar e ser nula tb..<BR>como faco um if 
      para verificar?<BR>se eu fizer $a == "" nao funciona..<BR><BR>Alguem pode 
      dar uma luz? :D<BR><BR>Obrigada<BR>
      <DIV>Abra sua conta no <A 
      href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.mail.yahoo.com/">Yahoo! 
      Mail</A>, o único sem limite de espaço para armazenamento! </DIV>
      <DIV></DIV>
      <HR>

      <DIV></DIV>_______________________________________________<BR>Cascavel-pm 
      mailing 
      list<BR>Cascavel-pm@pm.org<BR>http://mail.pm.org/mailman/listinfo/cascavel-pm</BLOCKQUOTE>_______________________________________________<BR>Cascavel-pm 
    mailing 
    list<BR>Cascavel-pm@pm.org<BR>http://mail.pm.org/mailman/listinfo/cascavel-pm</BLOCKQUOTE><BR>
  <P>Abra sua conta no <A 
  href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.mail.yahoo.com/">Yahoo! 
  Mail</A>, o único sem limite de espaço para armazenamento! 
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Cascavel-pm mailing 
  list<BR>Cascavel-pm@pm.org<BR>http://mail.pm.org/mailman/listinfo/cascavel-pm</BLOCKQUOTE></BODY></HTML>