Search found 42 matches
- Tue Sep 30, 2025 6:58 pm
- Forum: Other topics
- Topic: MOD() doesn't work
- Replies: 1
- Views: 117
- Flag:
MOD() doesn't work
The statement PRINT MOD(a,b) (where a & b have been given values) doesn't work. "mod" doesn't even capitalize. The program thinks it's an array so gives an error. And it's not documented that I can find (although it's mentioned in the Survival Guide). The "shortcut" statement PRINT a%b works fine. W...
- Wed Sep 24, 2025 9:53 pm
- Forum: Other topics
- Topic: DEBUG PAUSE Shortcut
- Replies: 0
- Views: 155
- Flag:
DEBUG PAUSE Shortcut
I made a shortcut for DEBUG PAUSE by writing a User Defined Function "dbp", which is much faster to type. This is extremely convenient when debugging a program and you temorarily need pauses in several places. It can save a lot of typing. My function is a multi-line DEF statement: DEF dbp DEBUG PAUS...
- Sat Sep 13, 2025 4:52 pm
- Forum: Other topics
- Topic: iPad Compass not working in Smart BASIC
- Replies: 0
- Views: 218
- Flag:
iPad Compass not working in Smart BASIC
I wrote a program on my iPad to display a compass, the needle being a Sprite. Not fancy but it worked great. Now it has stopped working - it always shows " 89° " and the needle only points left. Compass apps from the App Store work perfectly (with fancier graphics display than mine). I have checked ...
- Tue Jun 10, 2025 9:52 pm
- Forum: BASIC programs
- Topic: Solar System
- Replies: 19
- Views: 805375
- Flag:
Re: Solar System
Version 5 is now uploaded. All input is in Graphics Fields - much smoother than by Text mode. Just type in the data & hit Enter. It asks if your info is correct. If you made a mistake just enter "n" where asked. It is Paused at the requested date; hit GO to continue running from there. Copy the whol...
- Tue Jun 10, 2025 4:06 pm
- Forum: BASIC programs
- Topic: Solar System
- Replies: 19
- Views: 805375
- Flag:
Re: Solar System
I find that INPUT (in Text mode) acts like that normally. I more or less solved it by some re-arrangement of the input statements and inserting some PRINT statements. (It still drops to the bottom, but nothing is hidden.) However (as I got locked out of my account until today) I decided to write tha...
- Sun Jun 08, 2025 10:27 pm
- Forum: BASIC programs
- Topic: Solar System
- Replies: 19
- Views: 805375
- Flag:
Re: Solar System
I will have to look into that. Possibly inserting some Print statements will help. I’m using an external keyboard, so the problem doesn’t arise. I have modified all the DRAW settings to fit it on an iPhone and I see the input “request” drops to the bottom of the screen but doesn’t cause a problem. I...
- Sat May 31, 2025 10:14 pm
- Forum: BASIC programs
- Topic: Solar System
- Replies: 19
- Views: 805375
- Flag:
Re: Solar System
Version 4 (now posted) allows you to go directly to a specified date without displaying all the dates "getting there". Thus it arrives at the date much faster. You enter a specific date and the program will display "Calculating" for a few seconds, then display at the date you selected. Tap "Go" to s...
- Sat May 03, 2025 9:33 pm
- Forum: BASIC programs
- Topic: Solar System
- Replies: 19
- Views: 805375
- Flag:
Re: Solar System
Version 3 of Solar System.sb (now posted) includes a (simulated) elliptical orbit for Mercury. I add this because it is almost as elliptical as Pluto, and is apparent in the display. I have also corrected the orbit "offsets" of Mercury & Pluto so that they don't vary as you change the Zoom level. (A...
- Wed Apr 16, 2025 7:07 pm
- Forum: BASIC programs
- Topic: Radiation Dose Map - problem!
- Replies: 6
- Views: 13668
- Flag:
Re: Radiation Dose Map - problem!
Thank you. I've never understood (or looked into) Retina display, so had no idea my problem would be related to it. My iPad Mini shows the Screen Scale as 2. Is that Retina or Non-Retina? (I don't see it in the manual). In my program I had to multiply pixel locations by 2 to work correctly. It sound...
- Wed Apr 16, 2025 4:42 pm
- Forum: BASIC programs
- Topic: Solar System
- Replies: 19
- Views: 805375
- Flag:
Re: Solar System
I have posted Version 2 of SolarSystem.sb in the original post, with the following changes that I hope are improvements: - smoother scaling, especially for the outer planets. - Stop/Go button is now a Pause/Go button. This allows adjusting of Scale & Speed while paused or stopped at a Stop Date. Go ...