|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
BASIC programer in need of assistance
hey, im just starting to learn how to use BASIC programming, i hav crated a very crude coding program but it can only code each letter at a time, it cannot code entire words or phrases, im wondering, how would i fix this little problem? cheers
i hav included the program below if it is of any assitance [1] input a$ if a$ = "5" then [2] if a$ = "x" then [2] if a$ = "s" then [2] if a$ = "b" then [3] if a$ = "l" then [3] if a$ = "d" then [3] if a$ = "6" then [4] if a$ = "p" then [4] if a$ = "1" then [4] if a$ = "8" then [5] if a$ = "u" then [5] if a$ = "v" then [5] if a$ = "e" then [6] if a$ = "o" then [6] if a$ = "f" then [6] if a$ = "3" then [7] if a$ = "m" then [7] if a$ = "4" then [7] if a$ = "a" then [8] if a$ = "r" then [8] if a$ = "y" then [8] if a$ = "h" then [9] if a$ = "q" then [9] if a$ = "c" then [9] if a$ = "z" then [10] if a$ = "j" then [10] if a$ = "7" then [10] if a$ = "i" then [11] if a$ = "t" then [11] if a$ = "2" then [11] if a$ = "k" then [12] if a$ = "n" then [12] if a$ = "9" then [12] if a$ = "w" then [13] if a$ = "g" then [13] goto [no] [no] print "not an option, try again" goto [1] [2] a = int(rnd(1)*100) if a > 33 then [14] if a < 33 then [15] if a < 66 then [16] if a > 66 then [15] [14] print "5" goto [1] [15] print "x" goto [1] [16] print "s" goto [1] [3] a = int(rnd(1)*100) if a > 33 then [17] if a < 33 then [18] if a < 66 then [19] if a > 66 then [18] [17] print "b" goto [1] [18] print "l" goto [1] [19] print "d" goto [1] [4] a = int(rnd(1)*100) if a > 33 then [20] if a < 33 then [21] if a < 66 then [22] if a > 66 then [21] [20] print "6" goto [1] [21] print "p" goto [1] [22] print "1" goto [1] [5] a = int(rnd(1)*100) if a > 33 then [23] if a < 33 then [24] if a < 66 then [25] if a > 66 then [24] [23] print "8" goto [1] [24] print "u" goto [1] [25] print "v" goto [1] [6] a = int(rnd(1)*100) if a > 33 then [26] if a < 33 then [27] if a < 66 then [28] if a > 66 then [27] [26] print "e" goto [1] [27] print "o" goto [1] [28] print "f" goto [1] [7] a = int(rnd(1)*100) if a > 33 then [29] if a < 33 then [30] if a < 66 then [31] if a > 66 then [30] [29] print "3" goto [1] [30] print "m" goto [1] [31] print "4" goto [1] [8] a = int(rnd(1)*100) if a > 33 then [32] if a < 33 then [33] if a < 66 then [34] if a > 66 then [33] [32] print "a" goto [1] [33] print "r" goto [1] [34] print "y" goto [1] [9] a = int(rnd(1)*100) if a > 33 then [35] if a < 33 then [36] if a < 66 then [37] if a > 66 then [36] [35] print "h" goto [1] [36] print "q" goto [1] [37] print "c" goto [1] [10] a = int(rnd(1)*100) if a > 33 then [38] if a < 33 then [39] if a < 66 then [40] if a > 66 then [39] [38] print "z" goto [1] [39] print "j" goto [1] [40] print "7" goto [1] [11] a = int(rnd(1)*100) if a > 33 then [41] if a < 33 then [42] if a < 66 then [43] if a > 66 then [42] [41] print "i" goto [1] [42] print "t" goto [1] [43] print "2" goto [1] [12] a = int(rnd(1)*100) if a > 33 then [44] if a < 33 then [45] if a < 66 then [46] if a > 66 then [45] [44] print "k" goto [1] [45] print "n" goto [1] [46] print "9" goto [1] [13] a = int(rnd(1)*100) if a > 33 then [47] if a < 33 then [48] if a < 66 then [49] if a > 66 then [48] [47] print "i" goto [1] [48] print "t" goto [1] [49] goto [1] |
|
#2
|
||||
|
||||
|
Welcome to the forums
![]() Just out of curiosity (not to be rude or anything), why would you want to learn how to program in a language which has been obsolete for longer than I can remember? Here is a little background on Basic as well as some basic commands that can be used.
__________________
................... ASCII and ye shall receive .................. Knowledge is the only resource on earth that multiplies when shared Support the Shemzilla Project Powered by C# |
|
#3
|
|||
|
|||
|
lol i no i no, but its wat sum1 started teaching me, and i hav a bad habit of needing to do sumthing well before i stop doing it, so here i am learning how to use an ancient programming language.
Thanks for the link |
|
#4
|
|||
|
|||
|
seeing as BASIC is an anient prgramming language, wat would you suggest i learn? and were abouts would i learn it?
|
|
#5
|
||||
|
||||
|
If you want to learn something related to Basic, look on it's modern day (way, way, way better) brother --> Vb.net
Which programming language in .net? That is up to you... Visual Studio Express + it's totally free, can't beat that ![]() |
|
#6
|
|||
|
|||
|
thanks.....now i just gotta figure out which one to start learning lol, got any prefrences?
im thinking the j# or c# ![]() |
|
#7
|
||||
|
||||
|
Given the two choices you're giving, i'd choose C# (for its similarity to c++).
I feel more comfortable coding in C# than VB (they are the most widely used) Hope this helps ![]() |
|
#8
|
|||
|
|||
|
thanks its been really helpful
but i seem to hav hit a snag, i says that i hav to register it within thirty days, but when i try to register it says that my email is invalid got ne help for me here or is this out of ur 'field'? |
|
#9
|
||||
|
||||
|
I don't think its looking for a particular email.
Not sure which email you used. When I got my copy I used my hotmail account. Is that what you have? If not, just get one so that you can easily register your software ![]() |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > BASIC programer in need of assistance |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|