Assignment for objects and structures – PB Docs 126

Assignment for objects and structures

In PowerBuilder, assignment for objects is different from
assignment for structures or autoinstantiated objects:

  • When you
    assign one structure to another, the whole structure is copied so that
    there are two copies of the structure.

  • When you assign one object variable to another,
    the object reference is copied so that both variables point to the
    same object. There is only one copy of the object.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x