Re: Windows, memstructs, win32lib, IDE
- Posted by mattlewis (admin) Aug 27, 2012
- 1356 views
AndyDrummond said...
That fixes it, Matt, and it runs a vestigial program OK. Now I have to see what I can do with it all!
I can see what you're doing with a common initialization routine. One thing I wanted to ask for in Eu4 but didn't dare ask for was for the object() type to return False if the object has not been initialised, True in all other cases. Then a routine could initialise any parameters which were undefined by using that. It would save having to have explicit initialisation routines being called at the program startup:
if !object(fred) then fred = "" endif
You're late! Please take a look at the object() documentation.
Matt