Moves, or copies, the value from the source <VariableNode> to the destination <VariableNode>. Value acquisition is accomplished by copying or moving. Move is not available in all use cases.
int32 AcquireValue( VariableNode p_oSource, int32 p_nUseMoveSemantics )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<VariableNode> | p_oSource | A pointer to the source <VariableNode>. |
int32 | p_nUseMoveSemantics | An <int32> where 0 means 'copy the value from the source to the destination', and 1 means 'move the value form the source to the destination'. Move semantics are only applicable to <VariableArrayNode> types. |
None published. Please look for an example in the Scenome Scripting Language code base.