So do you need some scripting experience for this game?
Currently playing:A little bit of everything :D
Fan of:Adventure Time,The Legend of Korra,The Amazing World of Gumball,Regular Show,Futurama,and gaming on handhelds,consoles,and the PC.
3DS Friend Code: 1332-8187-4581 | Nintendo Network ID: PSICadet
@Cocobanana
That depends on your program and your previous BASIC language. FYI, there's more than 1 version of BASIC 3 years ago. I was counting 15 dialects of BASIC including MS Visual BASIC. I'm sure there's quite a few more now.
For hints, look on Help 11 BASIC Standard Features, and go from there. Petit Computer BASIC is actually called Smile BASIC.
Is petit computer different then the old BASIC programming?
Because im using my old coding i used 3 years ago,
So what should i change in my coding?
im going to try my best to answer your question. alright, im going to do that.
from what i understand, there are several versions of programming, and probably several versions of BASIC. i dont want to say there is or isnt at the risk of being told im an idiot, so let's just say that there may or may not be several versions. if there are, then you'd need to be more specific about what the old" BASIC was.
KAHN
3DS Friend Code: 1032-1301-2772 | Nintendo Network ID: Milkman12
@Drobotic
Need? No. You can learn it if you're stubborn. Everybody has to start somewhere. Different stages of programmer's evolution (abbreviated):
1. Play games
2. Load games, review games
3. Read source code. Type into computer
4. Edit source code (to cheat, ahem, customize the game)
5. Read programming book to understand (There's one out, you can read it if you can read Japanese)
6. Write simple programs
7. Write complex program (and failed)
8. This is where most people give up. If not, then learn design.
9. Learn Program Structure, Data Structure, Algorithm, Design Pattern
10. Write complex program successfully.
11. Got addicted, and well, here's to your successful computer programming career!
I have source code in my blog. I suggest you read them and type them into Petit Computer. There's QR code, but use that to check your work, instead of being lazy. Okay if you're still at stage 2.
Heres my first line:
Print tab(33);"pokemon tcg"
Is there something wrong with this?
probably, the problem is that you used a semicolon instead of a regular colon. i've seen people use regular colons in their codes. try replacing the semicolon with a colon. or did you make a typo on your computer? did you mean to type in a colon on this forum without holding shift? you gotta hold shift, buddy
There is your subscript out of range error. Petit Computer takes your tab(33) as Variable Array "tab" element number 33! See how a simple posting of source code clears the issue immediately? Better make that a usual practice!
When you use PRINT (or ?) you can use either , or ; to separate normal text from variables.
, will print the variable after a "tab" while ; will print it right after the text.
: is used to separate different functions on the same line, like PRINT "HI": PRINT "HI AGAIN".
@Morphtroid
That's great explanation for using commas and semicolon with PRINT. Would you repost it in tutorial thread? It'd be good to keep all the explanations together.
Forums
Topic: Petit Computer
Posts 541 to 560 of 9,620
Please login or sign up to reply to this topic