Search found 644 matches
- Wed Oct 02, 2024 1:26 pm
- Forum: BASIC programs
- Topic: Skip-Bo game (iPad only)
- Replies: 0
- Views: 1404
- Flag:
Skip-Bo game (iPad only)
Please read the Skip-Bo manual on internet for the playing rules. To play a card, first touch the card, then touch the target stack where to place the card. A selected card may be returne to its original stack by touching that stack again. IMG_1252.png ' Skip-bo game ' dim stock(163),op(5,13),p_op(5...
- Fri Sep 20, 2024 7:27 am
- Forum: BASIC programs
- Topic: WARI game (iPad only)
- Replies: 5
- Views: 3682
- Flag:
Re: WARI game (iPad only)
Hi, I reloaded the code from the first post in this tread and run it. The result is what it should be: IMG_1245.png It seems there is no bug in the program. The differences are : my iPad runs iOS 17.1.2 The pixel size of my iPad: 768 x 980 Portrait or landscape does not matter. Perhaps try download ...
- Mon Sep 16, 2024 8:18 pm
- Forum: Other topics
- Topic: Dealing with error messages
- Replies: 2
- Views: 883
- Flag:
Re: Dealing with error messages
Hi Geordie, As far as i know, SB has no error trapping like "on error goto.....". In the example mentioned by you the error may be evaded by using something like the following snippet: f$="Data/messages.txt" ! i=0 if not file_exists(f$) then return while data_exist(f$) i+=1 ! file f$ input .mess$(i)...
- Wed Aug 28, 2024 2:29 pm
- Forum: BASIC programs
- Topic: A flexible calculation tool (part 2)
- Replies: 0
- Views: 1441
- Flag:
A flexible calculation tool (part 2)
Calculations around an annuity loan requires 4 variables: the principal sum “C”, the interest rate “i”, the amount of periods “n”, and the payment per period “PpP”. The usual formula is the one that calculates the “PpP” as a function of the other 3 variables: PpP = i * C / ( 1 - (1+i)^(-n) ). If we ...
- Mon Aug 26, 2024 10:59 am
- Forum: BASIC programs
- Topic: A flexible calculation tool (part 1)
- Replies: 0
- Views: 1412
- Flag:
A flexible calculation tool (part 1)
After buying a new car with a hybrid drive train, i made a calculation model for such kind of a car. There are many variables that influence the needed power and fuel at the various conditions. In this model each variable is represented by two buttons, the upper button with a description, the lower ...
- Mon Aug 05, 2024 2:25 pm
- Forum: BASIC programs
- Topic: Mini keypad
- Replies: 0
- Views: 4350
- Flag:
Mini keypad
I use this keypad to enter or change text or numbers into buttons. The keypad may be placed anywhere on the screen and disappears upon touching the enter key. IMG_1231.jpeg graphics init_keypad(100,190,50,1,1,0,1) button "in" text "hit the button" at 200,10 size 300,40 do slowdown if bp("in") then b...
- Sun Aug 04, 2024 1:58 pm
- Forum: BASIC programs
- Topic: The one-armed bandit (fruit machine)
- Replies: 0
- Views: 3220
- Flag:
The one-armed bandit (fruit machine)
This fruitmachine is programmed entirely as a function. It may be simply called from a host app, and removed by touching the “Boss!” Button. It leaves the background of the host app unchanged. It requires the graphics mode, and will use the current “draw color” in the host app. It fits on the iPad a...
- Fri Aug 02, 2024 1:17 pm
- Forum: Other topics
- Topic: Tab "Privat messages" is missing here.
- Replies: 9
- Views: 18242
- Flag:
Re: Tab "Privat messages" is missing here.
I did, and i’m logged in again
- Sat Aug 13, 2022 10:56 am
- Forum: BASIC programs
- Topic: NASA standard atmosphere
- Replies: 0
- Views: 8820
- Flag:
NASA standard atmosphere
This function may be used in flight dynamics simulation. It is used by the main program to present the data in the first 40 km. of altitude. E35D28AA-9507-43F2-BA6F-ABBF44723666.png The code: graphics ! graphics clear .8,.8,.8 set orientation landscape ! set toolbar off get screen size sx,sy xo=80 !...
- Wed Jun 01, 2022 2:13 pm
- Forum: BASIC programs
- Topic: Breaking news....
- Replies: 0
- Views: 8355
- Flag:
Breaking news....
For iPad only. Easily expandable with more text blocks. 7A42B5E2-503A-4D00-98C8-669DE4091E3E.jpeg init_prog() r=8 ! rr=24 ! rrrx=42-rr ! rrry=32-rr eyes(0,0) ! pause 1 ! wink() say_text(1) do slowdown for dx=rrrx to -rrrx step -5 dy=rrry-3+rnd(4) if rnd(1)<.1 then wink() eyes(dx,dy) ! pause .2 next ...