E erg322 New Member Dec 22, 2010 #1 Hello to everyone. It's been many years since I have programed. I recently received an IPAQ and I found Basic4ppc was very easy to use so I thought I would like to make my own programs for the exercise. This is my first, a bit like doing a "Hello World". All the very best for Christmas 2010-11 Attachments HiLo game - 1.sbp HiLo game - 1.sbp 2.3 KB · Views: 617
Hello to everyone. It's been many years since I have programed. I recently received an IPAQ and I found Basic4ppc was very easy to use so I thought I would like to make my own programs for the exercise. This is my first, a bit like doing a "Hello World". All the very best for Christmas 2010-11
taximania Well-Known Member Licensed User Longtime User Dec 22, 2010 #2 I'm not using the latest version of Basic4ppc. The one I am using is 6.80 But it 'suits me' I had to change Sub_Globals to Code: Copy Sub Globals 'Declare the global variables here. Dim a,x 'These numbers take care of goal and guess Dim s ' This is for Texbox values End Sub Other than that, it only took me six attempt's to get the number :sign0087:
I'm not using the latest version of Basic4ppc. The one I am using is 6.80 But it 'suits me' I had to change Sub_Globals to Code: Copy Sub Globals 'Declare the global variables here. Dim a,x 'These numbers take care of goal and guess Dim s ' This is for Texbox values End Sub Other than that, it only took me six attempt's to get the number :sign0087:
E erg322 New Member Jan 3, 2011 #3 Thanks Taximania for finding a version issue and giving it a go. I looked at your website and it was marvelous. Your right it's a very limited in it's current version and looking at the code again I spotted that I should have tested the TextBox had numeric input. The program can be a start to a technically harder program by measuring attempts times time to give a score to acheive/beat and then there is moving the goal number by a predictable amount and providing a clue. I'm bored and have moved on but sometime I'll come back later and tweak it.
Thanks Taximania for finding a version issue and giving it a go. I looked at your website and it was marvelous. Your right it's a very limited in it's current version and looking at the code again I spotted that I should have tested the TextBox had numeric input. The program can be a start to a technically harder program by measuring attempts times time to give a score to acheive/beat and then there is moving the goal number by a predictable amount and providing a clue. I'm bored and have moved on but sometime I'll come back later and tweak it.