ultima Posted March 3, 2015 Share Posted March 3, 2015 Can data be used in a if then statement? Such as: Genericsub If var{4} Then data 1,2,3,4 End Else data 2,3,4,5 End Return Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted March 4, 2015 Share Posted March 4, 2015 Have you looked at that section of the bB page? randomterrain.com/atari-2600-memories-batari-basic-commands.html#dataarrays Data doesn't go in the main loop and it uses an array name. Example: mini_ex_data_2015y_03m_03d_2257t.bas mini_ex_data_2015y_03m_03d_2257t.bin Press the joystick left to read from one data table and press the joystick right to read from the other. Repeatedly press and release the joystick in either direction to move through the data. Quote Link to comment Share on other sites More sharing options...
ultima Posted March 4, 2015 Author Share Posted March 4, 2015 Thanks R. T. much appreciated. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.