moryoav
Computer
- Nov 22, 2005
- 4
Hi,
I'm writing a rather large mass of code here with many many functions all need to use a struct filled with data.
What is the best way to access this struct from all the functions?
- As a Global variable.
- As a getappdata/setappdata to be attached to some main object.
- As the figure's 'UserData', to be accessed with get/set.
Thank you.
Y.
I'm writing a rather large mass of code here with many many functions all need to use a struct filled with data.
What is the best way to access this struct from all the functions?
- As a Global variable.
- As a getappdata/setappdata to be attached to some main object.
- As the figure's 'UserData', to be accessed with get/set.
Thank you.
Y.