Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Can someone give me an example of how to pass an array to a procedure on another form or code module, like the following:
A main form has an array with 4 elements. I want to have a Code Module with a function that will initialize the array to specified values for use on the main form.
During program execution, the main form will call another form that will allow you to modify the values of the array.
Whenever I try calling the procedure on the other form, I am getting a runtime error 458. I can post all the code if you would like to see it.
0 · ·