News:

*NEW* Current Version on STEAM16.793

Webchat:
Visit the chat



What is this

Previous topic - Next topic

siatek

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
glbasic roxx !!!

MrTAToad

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

backslider

... And Gernot uses empty SUBs for quicker navigation in large code files. :)

siatek

Ok thanks :)

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

backslider

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.