I agree, the documentation makes it sound difficult. This is a simple way of doing it: In a DOS shell, cd to your Skill folder Run Allegro Skill by typing: il_allegro Name your context file: setContext("My_context") load your Skill file(s) needed to run the code (normally only one): load("mySkillFile.il"); This is what startup.il does - you would add a load statement for each Skill file. define the initiation process: defInitProc( "My_context", 'myFunction); Where myFunction is the name of the procedure/function that you want to call in your Skill file. Protect your code: sstatus(writeProtect t) saveContext("My_context.cxt")
↧