I've made some code that copies the dbid's of the symbol definitions to a global list (copy(axlDBGetDesign()->symdefs)) because i need to sort the list. After sorting the name of the symb. definitions are shown in a grid on a form.
Now when my skill is started from the skill prompt everything works well. dbid's are stored in the list, shown in the grid and even after i closed the skill code the list contains valid dbis.
However when I registrate the skill command with axlCmdRegister (interactive) the dbid's are copied in the list, sorted and shown OK on the form. But right after this the dbid's are 'removed'.
I've putted some pp() statemens in my main procedure, just before it ends the list contains valid dbid's. When I request the list at the skill command prompt it shows me 'dbid:removed'.
So shortly, code works fine when started from skill prompt, but when started from allegro prompt the dbid's are removed right after the main procedure has finished. If I then restart the code it shows me the exact same dbid's as previously, so they are not removed from the db.
What's going on here?