Asking Good Questions; or, Using the Forum for Information
Hello, Undercover Moderator snail_ here.
I've noticed lately that the forum has been a bit... messy, and hard to navigate for information, especially Activity. This isn't about forum etiquette though, I shouldn't have to explain that. I wanted to explain how asking programming questions should work on our forum, so the information is clear and available for our Future Patrons.
I was really spurred on by this exchange I saw today:
Obviously, you should not make many new question threads per day, but I also want to say that making a super-thread for all your questions is the wrong thing to do as well. For information of this nature, having separate threads for good, clear questions makes it easier for future readers to discover. Our forum is set up for this with the Programming Questions thread.
The most important thing is that you do not ask the same question twice. The first thing to do is to search the site for what you need to know. You should first look in the FAQs category of the forum. This category contains good question threads selected by the staff because we think they're very useful information. (The threads here also serve as good models for questions you may want to ask.) Second, you should check the Programming Questions category for information. Finally, you should search the site with the search bar, or try exploring our Resource pages. Only if you do not find what you need to know should you go ahead and make a new question thread.
If you need to ask a question on the forum, first consider what you're asking and why. Follow this handy guide.
- Is it clear? The question you're asking should be clear and specific. There's nothing more frustrating than trying to answer a question with limited information.
- Do you understand it? You should also assure you at least somewhat understand what you're asking. Not knowing things is okay, but at least know what you're asking.
- Is it on topic? This is Programming Questions, so the question should be related to programming. It doesn't need to be explicitly related to writing code; sometimes, design questions are okay.
- Don't ask questions like "How do I make a platformer?" or "How do I make my player jump?" unless you really know what you're doing. These questions are extremely vague and often have many, many different answers. You're better off looking online for game design books or similar. If you have something basic designed but it isn't working, you may consider asking.
- Don't ask really short or simple questions if you can avoid it. There are many resources available to you for understanding the absolute basics of SmileBASIC. If you need to, use the chat.
You should also check resources if you can't find answers to your question in the forums. The tutorials and code snippets are very useful for some specific programming questions.
For example
@HOME ACLS INPUT "WHAT IS YOUR NAME" NME$ IF NME$ !=" " THEN GOTO @MAIN; ELSE GOTO @NOT @NOT ACLS PRINT "THAT IS NOT A NAME." WAIT 60 THEN GOTO {Want this to change}The bit in the { }, I want that to take you back to the previous screen. What command would I use to change that one specific aspect of the string? And what would the syntax be?
Why can't it beSomewhat. I want to change to the previous screen. Like if I went into a building, and wanted to go back out to the overworld perse. I wouldn't have to restart. A back option would have been a much better way to word it lolWAIT 60 GOTO @HOME? Do you want the program to go back to the INPUT to get a valid name? (Also, I don't think this is the right uh post for this lol. Might want to create a programming question post.)
Dose Anybody know if there is a way to count current Characters on the console screen?You can do this in a nested FOR loop that takes width and height specifications, check for characters and increase a variable.
FOR H=0 TO 20 'set 20 to the height area to check FOR W=0 TO 10 'set 10 to the width area to check CH$=CHKCHR$(4,W,H) '4 is the screen you’re checking IF CH$!=0 THEN INC N 'variable N = character number NEXT NEXTI feel like there’s another way to do this like copying the text screen to an array and checking the length but I’m not sure how it’d work off the top of my head.
can people stop using this thread for programming questions when that's not what it's for at all?This thread is hardly used at all. There’s activity about every 4 months or 3 years. Sure, the clutter isn’t helpful for those looking for information, but the only post of true value here is the initial one. A directive post like this should have been closed after it was created. As long as it’s open, people will post.