Copying structures
To copy the values of a structure to another structure of the
same type
-
Assign the structure to be copied to the other structure
using this syntax:1struct1 = struct2
PowerBuilder copies all the variable values from struct2 to
struct1.
Example. These statements copy the values in lstr_emp2 to
lstr_emp1:
|
1 2 3 |
str_empdata lstr_emp1, lstr_emp2 ... lstr_emp1 = lstr_emp2 |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest