Jump to content
IGNORED

Simple question in IntyBASIC


Recommended Posts

When I compile the following code and run it, I get a strange (to me) result:

MODE 1

#A1 = $0800
#A2 = $0816

PRINT AT 160 COLOR 7, <>#A1
PRINT AT 180 COLOR 7, <>#A2

WHILE 1:WAIT:WEND

This prints 65535 twice. What's going on here? Is there something involving variable assignment that I'm just not getting?

 

Thanks!

 

(Edit: I'm using the --jlp switch.)

 

(Edit 2: Compiling without the switch makes the error go away. Do I have to do something special to use the variable space afforded in the switch?)

Edited by petit chou
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...