1. $ and sense
- Posted by Michael Sabal <mjs at OSA.ATT.NE.JP> Sep 24, 1998
- 517 views
I noticed a small inconvenience with the value() function of get.e. If = an end user decides to type a dollar sign ($) into a database field = which later gets converted to a numerical value, that value returns = GET_FAIL because the dollar sign is not recognized as a valid numerical = character (I haven't needed it yet, but I believe the same is true of = percent). I'm sure most serious programmers have fixed this already, = but maybe some have not. Line 12 of get.e should have a '$' in the = string of START_NUMERIC. Line 168 should read: if c !=3D '+' and c !=3D '$' then This allows the casual end user, who has no concept of data types, to = blissfully type his happy dollar sign with no problems. Can we see '$' = and '%' processed successfully in future versions of get.e, Rob? [Win32Lib question] David, Is there any way to change the font or color of controls? i.e., if I = want an LText control to be blue Helvetica, and its associated EditText = control red Courier New, can I do that? Also, in the next release, can = you add a line that reads: global constant MLEText =3D MleText I'm always crashing myself by mistyping that control! In Christ, Michael J. Sabal mjs at osa.att.ne.jp http://home.att.ne.jp/gold/mjs/index.html
2. Re: $ and sense
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Sep 24, 1998
- 545 views
>This allows the casual end user, who has no concept of data types, to blissfully type his happy dollar sign with no problems. Can we see '$' and '%' processed successfully in future versions of get.e, Rob? And what about he thirty other currency? The comma/point dillema between europe and the states, etc. Should I make a list. So, either Robert adds a full feutured input routine (like David Cuny has already written, I think) or dont add this at all. For me a $ sign would never be of any use, and often illegal. In those cases where we want the user to enter a $ value, why use a dollar sign as prompt ? Like in all those million other programs out there ? Ralf