Constructed GOTO Not Working

I'm creating a custom template to help me map the decks of the habitat ring of a large rotating space station. (13 decks averaging about a mile long with widths varying from 72 to 114 feet for a total area of 155 acres. Since each map will cover a 30° arc of one deck, that's a 156 maps! ?) I want the template map title to be a hotspot that runs a script that asks some questions to prepare the map; specifically the deck number (1-13) and the sector (α, β, γ and δ) and subsectors to be mapped. After customizing the map title and the drawing grid (1° divisions vary in size from deck to deck) my script crashes when it tries to get the deck width from the following code:

gl comm goto GetWid

apnd comm DeckN

comm

:GetWid1

gv DeckW 90

goto DrawHull

When I try for Deck number (DeckN) 1, I get this error message:

In the immortal words of Vincent Barbarino "I'm so confused!" I'm attaching the full script in case the fault lies elsewhere.


Comments

Sign In or Register to comment.