cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

SUBROUTINE BUG

i made a subroutine on gdl script but debuger call me "Return without GOSUB"

here my subroutine structure:



transformation1................
GOSUB 1000



transformation1................
GOSUB 1000



transformation1................
GOSUB 1000




1000:

line1................
line2................
line3................
line4................

RETURN




is there anybody who knows what the problem with the return command?
2 Replies 2
Anonymous
Not applicable
You need an "END" statemant before the first subroutine label.
No bug, just how GDL works.
Peter Devlin
Anonymous
Not applicable
ok ! tanks..

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!