0 Members and 2 Guests are viewing this topic.
Does Axe support forward references yet? If so, yes.
Yeah, the code is compiled like this:[ Header ][ Compiled Code ][ Data and AxCalls ]The data is mixed with the Axe subroutines (which I am calling AxCalls now so you don't confuse them with user defined subroutines). So these are not the subroutines that you call with sub() they are the routines used by Axe itself such as DispGraph, multiplication, static data, and interrupts for example. They are in the order that you define them in the code so generally, when you define your data in the beginning of the code, the data is defined before your first call to the AxCalls. So usually it looks like this:[ Header ][ Compiled Code ][ Data ][ AxCalls ]It is possible to have a 3rd pass to determine all the AxCalls you use in the program and add those first before adding the data but I'm really trying to avoid that becasue it would require a lot of code rewriting and would take 50% longer to compile.