I am trying to to set some vr_ad_reg fields with the set_value() method.
This method require that the value will be passed as rf_value_holder struct , however I didn't find any good description or example on how to do so.
I am asking for help on understanding how to do it, the CDNSHELP document on this subject is insufficient.
consider the following:var i: uint = 5; // a uint with a value var type_holder:= rf_manager.get_type_by_name("uint"); // the rf type of uintvar value_holder:=type_holder.create_holder(i.unsafe()); // this is the value holder of a uint with the value 5
sn> print value_holder value_holder = rf_value_holder: type- uintvalue- 5
Hannes Thanks, it helped a lot.