home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / bit / listserv / dbasel / 1356 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.5 KB  |  32 lines

  1. Newsgroups: bit.listserv.dbase-l
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!news.iastate.edu!vincent1.iastate.edu!viking
  3. From: viking@iastate.edu (Dan Sorenson)
  4. Subject: Re: Detection of NULL numeric field
  5. Message-ID: <viking.724343680@vincent1.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames IA
  8. References: <63921208200536/0003081833NA3EM@mcimail.com>     <viking.723887528@vincent2.iastate.edu> <JRG.92Dec9145059@motmot.doc.ic.ac.uk> <viking.723929848@vincent2.iastate.edu> <1992Dec14.082525.15210@fel.tno.nl>
  9. Date: Mon, 14 Dec 1992 14:34:40 GMT
  10. Lines: 20
  11.  
  12. In <1992Dec14.082525.15210@fel.tno.nl> wlmg1@fel.tno.nl (W.L.M.Touw) writes:
  13.  
  14. >viking@iastate.edu (Dan Sorenson) writes:
  15.  
  16. >>    Good point.  I had a strange problem in FoxPro 2.0 the other day
  17. >>while trying to use this snippet of code.  I finally resorted to this:
  18. >>    if len(ltrim(rtrim(str(mtemp))))=0
  19.  
  20. >How about an alltrim() ?
  21.  
  22.     Actually, that's what I use.  Since this is bit.listserv.dbase-l
  23. I try to keep any code snippets I post in the dBase 3+ language for
  24. clarity and maximum usability by others on the list.  I believe alltrim()
  25. is a Foxpro-specific function, but equivalent to ltrim(rtrim()).
  26.  
  27. < Dan Sorenson, DoD #1066 z1dan@exnet.iastate.edu viking@iastate.edu >
  28. <  ISU only censors what I read, not what I say.  Don't blame them.  >
  29. <  "This isn't an answer, it's a pagan dance around a midnight fire  >
  30. <   written in intellectual runes." -- Rich Young                    >
  31.  
  32.