In almost all cases the <type> will be long (or a domain of basic type int, long, enumerate, bitset and so on.), except when the resource.type is DsNtitle, since in this case the <type> must be multi-byte string.
Note that since Baan V the resource GBF.BUTTON is no longer valid, that is it is not possible to change the value. When this resource is obtained through the gbf.get.resource() then always the default value will be returned for backward compatibility reasons.
The resource type of which to set the value.
The value for the resource type.
Unknown resource type specified
Value for given resource type is not valid
GBF is not in the right state to deal with this function