Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Syntax tags
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Saad




PostPosted: Thu Apr 09, 2009 6:54 pm   Post subject: Syntax tags

Syntax tags are useful to make your code readable to anybody wanting to see it. For example, consider this code you decide to post:

var foo : int
get foo % I get foo
for i : 1 .. foo
put i
end for


You will realise that it is annoying to read because it lacks the color and spaces. Now consider syntax tags:

Turing:
var foo : int
get foo % Get foo
for i : 1 .. foo
    put i
end for


Now you have colors, spacing and the formatting people are used to seeing in the Turing IDE. So please use syntax tags, they help others help you Smile.

To use syntax tags copy paste and put the code in the middle
code:
[syntax="turing"]Code Here[/syntax]
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: