Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Value: BOOLEAN_V, USERVALUE_V [REQUEST]
Re: Value: BOOLEAN_V, USERVALUE_V [REQUEST] [message #7119 is a reply to message #7114] Thu, 14 December 2006 20:28 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
I am not quite sure BOOL_V is a good idea, but be it... But IMHO be aware that such solution is extremely fragile because of conversions between numerical values (note that IsNumber is the recommended method of type inquiry there).

Maybe the right solution is to provide special type, RpcBool, or something like that.

USERVALUE_V does not have sense. I must admit that the idea of numeric ids is somewhat fragile as well, but USERVALUE_V would not solve that. At least Value system checks for duplicate definitions.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [XML] Assertion when GetAttrCount()
Next Topic: How to cast String to int64?
Goto Forum:
  


Current Time: Mon Jul 07 08:56:07 CEST 2025

Total time taken to generate the page: 0.03576 seconds