Why do we have to do
declare MyProcedure(...)
to use MYProcedure before we define it ? It would be great to have Purebasic doing this job


I would love to be able to do that automaticallyProcedure function(do)
a=allocatememory(do+8)
myfollowingfunction(a)
endprocedure
Procedure myfollowingfunction(a)
...
endprocedure
That's exactly the point. To enable this feature, the compiler would needPB wrote:I agree. PureBasic would need to become a two-pass compiler to do that.