Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PACMAN issue #6

Open
TheOof-lord opened this issue Nov 15, 2024 · 5 comments
Open

PACMAN issue #6

TheOof-lord opened this issue Nov 15, 2024 · 5 comments

Comments

@TheOof-lord
Copy link

I just coded PACFIND on my TI-84 Plus SE. The game loads up just fine, and when I start the game, everything is find. However, the MOMENT the map is done loading, I get a SYNTAX error at line 22 (the line that reads Text(57,82,sub(">>>---",I,3). What could t he problem be? TY in advance!

@nineteendo
Copy link
Owner

Can you send a foto?

@TheOof-lord
Copy link
Author

a photo of my code? sorry, i don't have a smart phone/ a way to take pictures and my only webcam p much never works. Is there any other way I could show you the code?
OH and also since I'm using an older version of the Ti-84 plus SE, there's no remainder function, so on line 63 (the one that reads 2+remainder(72+M,74→D), I used 2 + fPart(72+M,74→D)*(74->D). is that why I'm getting the error? if so, what change do I make to this part of the code?

@nineteendo
Copy link
Owner

Well, if you can't show me your code, I can show you how it's supposed to look:

Screenshot_20241116-173846

If you have a USB-B cable you could just transfer the program from your PC.

@TheOof-lord
Copy link
Author

TheOof-lord commented Nov 20, 2024 via email

@nineteendo
Copy link
Owner

nineteendo commented Nov 20, 2024

It's probably not on that line, this means one of the variables has an invalid value. But, if you can't send me a screenshot or video of your code, I can't really help you. A single typo in the program is enough to break something. And I can't predict where it will be.

I can list some common pitfalls though:

  • Use a (-) instead of - before numbers.
  • Don't forget the trailing space on lines 54 and 58.

The .txt files are generated from the .8xp files and don't have comments to explain things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants