Maptitude GISDK Help

Goto Statements

 

The goto statement transfers control to another location in the GISDK macro. The goto statement has the form:

 

goto label

 

where label identifies another location in the same GISDK macro. Labels are made up of a letter followed by any combination of letters, numbers, and underscores, and are terminated with a colon where they appear as a destination, but not when they appear in a goto statement.

 

Macro "Sample Macro" (x, y)

     z = x * y

     if z > 1000 then goto big

     Return(0)

     big:

     Return(1)

endMacro

 

 

©2025 Caliper Corporation www.caliper.com