Nope, no direct support in W-Language.
So what you can do is :
property is structure
_value is variant // the value
_name is string // property ID
_targetType is int // use wlConstants -> for instance wlEntier ( france )
end
dynPropertySample is class
PRIVATE
_properties is dynamic array of 0 property // you can use an assoc. array too...
procedure addProp(newProp is property)
// add newProp to :_properties
procedure getProp(pName is string)
// get property by ID (pName) and convert it into _targetType
// return "converted to TargetType" value
procedure deleteProp(pName is string)
end
Bjoern
IMO it is normal to give some feedback.