I found Yabasic as an extra for a PS2 demodisc, and i recently dug it out from my Ps2 pile. it is a fun and simple piece of software for creating small programs, in which you type a command (eg. print, input, goto, beep etc.) and then a piece of text. here is a code for a simple number guess program, sorry for mistakesREM Number guess gameprint "I am thinking of a number between 1 and 50, try to guess it!"input a$if (a$>13) thenprint "your number was larger than mine!"goto inputendifelseif (a$<13) thenprint "your number was smaller than mine!"goto inputendifelseif (a$=13) thenprint "My number was 13! Congratulations, you win!"Feel free to edit the prints, and the number doesn't have to be 13. there are other things involving string variables and other commands. heres one called identitiy finderREM Identity finder programPrint "What is your name?" :":input a$Print "How old are you, ",a$,"?" :":Input b$Print "And where do you live, ",a$,"?" :":Input c$Print "so your name is ",a$,", you are ",b$," years old and you live in ",c$,", correct?"Pause 5Feel free to add more string variables, just add them as d$, e$, f$ etc.anyway, post coding for more yabasic programs, and use the stuff above!
Topic by The Jamalam | last reply