Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / TYPE command mocks me

Author
Message
Mario
20
Years of Service
User Offline
Joined: 25th Sep 2003
Location: San Diego CA USA
Posted: 25th Sep 2003 23:24
Forgive me if this appeared twice, didnt set up my forum info. (duh!)
OK, I'm having trouble with the TYPE command. I want to set up a datatype of stars for a 2d Masters of Orion type game. So I want a custom star datatype, one that encapsulates its data; its x and y location in the galaxy (2d of course), its "type" so I can put the corresponding graphic, and other goodies. So as per the instructions in the HELP section, I make the following data type AT THE TOP OF MY CODE. But when I compile it mocks me and says:

Failed to 'DoDeclaration::SeparateValueFromArrayString'

Any clues? Also note the code is the 2d example code provided by....erm, I forgot his name but he was awfully kind to post it! Thanks in advance for any help!!

Best
Mario
Mario
20
Years of Service
User Offline
Joined: 25th Sep 2003
Location: San Diego CA USA
Posted: 25th Sep 2003 23:32
DOH! See that stray DIM??

rem Set up stars
dim star

THAT was what was screwing me up. SORRY!! IGNORE THE POST!!

Login to post a reply

Server time is: 2024-05-05 18:37:51
Your offset time is: 2024-05-05 18:37:51