[Gambas-user] Why is val() so roundabout?

Eilert eilert-sprachen at ...221...
Wed Jun 22 16:33:03 CEST 2005


Rob schrieb:
> On Wednesday 22 June 2005 02:42, Eilert wrote:
> 
>>But why did Benoit implement val() this way? I don't see any sense
>>in it, but there might be one (I'm not a professional programmer
>>after all).
> 
> 
> Are you sure VB didn't do it the same way?  It had to be either VB or 
> VBscript, but I remember doing a LOT of iif(isnull(...)...) before I 
> came up with the idea of just doing that standard function each 
> time....
> 
> Rob

No, I'm sure VB (the VB I use, that is 5.0) has it more practical. In 
PowerBasic and AmigaBasic and ZX 81 Basic :-) which I used before it was 
the same. That's why I was so surprised.

Rolf





More information about the User mailing list