Search the Community
Showing results for tags 'func arguments'.
Found 1 result
Hello voluntary posters I got a question about autoit that I've been unable to find a straight yes or no answer on in the documentation I've read. Well I've been learning C++ lately and I've found that structures are a big deal and very ways of storing variables. Now I can finally understand why in all the advanced programming in autoit they include so many 'Dllcreatestruct' type commands. My question is that, how is it possible to create functions that pass that data created from the dllcreatestruct. Isn't it good programming technique to create as few global variables as possible? Please correct me if I'm wrong (I haven't been a programmer all that long) I think that the best way to use these are to pass them to and from functions. How do I do that? Also, I was wondering how can I make functions like in C++ that demand certain types of data? i.e. A function that will demand a specific structure type, otherwise will fail to run. Thanks in advance for the knowledge guys.