Usecode: calling functions\sub routines
Posted: Wed Jun 30, 2004 12:11 pm
Not sure how to explain this, so I'll post some code first.
Func02BE 0x2BE ()
{
var getstuff;
var gotstuff;
gotstuff = Func09C2(getstuff);
}
... more Func here...
Func09C2 0x9C2 (var var00)
{
var partysize;
partysize = UI_get_array_size(UI_get_party_list());
return var00;
}
OK, this will say that Func09C2 is not declared.
If I add " extern Func09C2 0x9C2 (var var00); " to the top, i get Function already in use.
Func02BE 0x2BE ()
{
var getstuff;
var gotstuff;
gotstuff = Func09C2(getstuff);
}
... more Func here...
Func09C2 0x9C2 (var var00)
{
var partysize;
partysize = UI_get_array_size(UI_get_party_list());
return var00;
}
OK, this will say that Func09C2 is not declared.
If I add " extern Func09C2 0x9C2 (var var00); " to the top, i get Function already in use.