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

Start a new conversation!

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!