Author Topic: What is this  (Read 2100 times)

Offline siatek

  • Mr. Drawsprite
  • **
  • Posts: 58
    • View Profile
What is this
« 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
glbasic roxx !!!

MrTAToad

  • Guest
Re: What is this
« Reply #1 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

Offline backslider

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 892
    • View Profile
Re: What is this
« Reply #2 on: 2012-Nov-20 »
... And Gernot uses empty SUBs for quicker navigation in large code files. :)

Offline siatek

  • Mr. Drawsprite
  • **
  • Posts: 58
    • View Profile
Re: What is this
« Reply #3 on: 2012-Nov-20 »
Ok thanks :)

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

Offline backslider

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 892
    • View Profile
Re: What is this
« Reply #4 on: 2012-Nov-21 »
Ok thanks :)

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

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