plugin oncreate function
Hi
with the plugin system , i need a callback function that i can put some needed things before Ziron will start compilation.
http://www.freewebs.com/ogremagic/index.htm
A community discussion post from the original code:zIRON forum.
Hi
with the plugin system , i need a callback function that i can put some needed things before Ziron will start compilation.
http://www.freewebs.com/ogremagic/index.htm
If i understand correctly, you can just use the InitPlugin event.
function InitPlugin(pointer pGetF) {
Ziron_LoadAll(pGetF); //use framework utility function to load all
//add some consts
Ziron_Execute('const ABCD = 1000; const EFGH = 2000; const IJKL = 3000;');
//register our keyword
Ziron_RegisterKeyword('Dim', @event_Dim);
return strLoaded;
}