Jump to content
ultima

data question

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...