We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

SUBROUTINE BUG

Anonymous
Not applicable
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..