GLBasic forum

Main forum => FAQ => Topic started by: siatek on 2012-Nov-20

Title: What is this
Post by: siatek on 2012-Nov-20
In some sources im finf something like this

@SUB ___MOVEMENT___ :; ENDSUB

is this is empty function for quicker navigation or what ??
and why there is @ ?

regards
Title: Re: What is this
Post by: MrTAToad on 2012-Nov-20
The @ denotes a function that shouldn't appear in the Jumps list (so cant be used for navigation)

An empty SUB used to be needed before an INLINE block is called
Title: Re: What is this
Post by: backslider on 2012-Nov-20
... And Gernot uses empty SUBs for quicker navigation in large code files. :)
Title: Re: What is this
Post by: siatek on 2012-Nov-20
Ok thanks :)

@backslider - it's in yours Entity code btw ;)
Title: Re: What is this
Post by: backslider on 2012-Nov-21
Quote from: siatek on 2012-Nov-20
Ok thanks :)

@backslider - it's in yours Entity code btw ;)

Ah yes, thats true. :)
I like the style of navigation in the GLBasic IDE.