Il giovedì 4 marzo 2010 00:57:32 richard terry ha scritto: > I almost feel embarrassed to ask this having programmed in gambas for so > long, but here goes. > > simplest syntax for testing for no text in a textbox. > > I currently to > > if Trim(textbox1.text) = "" then > > etc. > > Anything better? > > Richard >
It should be: IF NOT Trim(textbox1.text) THEN Stefano > --------------------------------------------------------------------------- >--- Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user