cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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..