Rosetta Code:Solve a Task: Difference between revisions

Content added Content deleted
m (→‎Libraries: spell correct "all right")
m (Correct links to old "User Output" task)
Line 1: Line 1:
So you'd like to solve a task? Great! Here's a brief walkthrough on how you might do that. While you may already have a task and a language in mind, we're going to assume the language is "Ayrch", and the task is [[User Output]]. If the language you're familiar with doesn't already have a [[:Category:Programming Languages|presence on Rosetta Code]], consider going through the motions of [[Rosetta Code:Add a Language|adding a language]]. If you don't have a task in mind, check out our [[:Category:Unimplemented_tasks_by_language|lists of unsolved tasks]].
So you'd like to solve a task? Great! Here's a brief walkthrough on how you might do that. While you may already have a task and a language in mind, we're going to assume the language is "Ayrch", and the task is [[Hello world]]. If the language you're familiar with doesn't already have a [[:Category:Programming Languages|presence on Rosetta Code]], consider going through the motions of [[Rosetta Code:Add a Language|adding a language]]. If you don't have a task in mind, check out our [[:Category:Unimplemented_tasks_by_language|lists of unsolved tasks]].


=The Basics=
=The Basics=
Line 20: Line 20:
<lang Ayrch>PRINT "Goodbye, World!"</lang></pre>
<lang Ayrch>PRINT "Goodbye, World!"</lang></pre>


Remember, for the sake of simplicity, we're assuming your language is Ayrch, and the task is [[User Output]]. We're also assuming, for the moment, that Ayrch looks a lot like BASIC.
Remember, for the sake of simplicity, we're assuming your language is Ayrch, and the task is [[Hello world]]. We're also assuming, for the moment, that Ayrch looks a lot like BASIC.


Once you've added your code, hit the preview button to make sure you crossed all your T's and closed all your tags. If the language name shows up in red (a broken link), then either the language doesn't exist on the site yet (as a category), or you misspelled/mis-capitalized the name. Check your spelling against the one in [[:Category:Programming Languages]].
Once you've added your code, hit the preview button to make sure you crossed all your T's and closed all your tags. If the language name shows up in red (a broken link), then either the language doesn't exist on the site yet (as a category), or you misspelled/mis-capitalized the name. Check your spelling against the one in [[:Category:Programming Languages]].
Line 26: Line 26:
That's all you really need to do!
That's all you really need to do!


=Going a little farther=
=Going a little further=


If you want to give your code that spit and polish shine, there are a few more steps you can take.
If you want to give your code that spit and polish shine, there are a few more steps you can take.