Revision: 1122
Author: sebastien.lelong
Date: Sun Jul 26 02:57:09 2009
Log: Added few words about 3-spaces indentation
http://code.google.com/p/jallib/source/detail?r=1122
Modified:
/wiki/JallibStyleGuide.wiki
=======================================
--- /wiki/JallibStyleGuide.wiki Fri Jul 10 00:31:47 2009
+++ /wiki/JallibStyleGuide.wiki Sun Jul 26 02:57:09 2009
@@ -223,15 +223,15 @@
== Indent your code ==
-It helps following the code structure (flows).
+It helps following the code structure (flows). Code must be indented using
*3 spaces* (no tab). You can use `python jallib.py reindent <file.jal>` for
this.
*Good*
{{{
var byte char
forever loop
- if serial_hw_read(char) then
- echo(char)
- end if
+ if serial_hw_read(char) then
+ echo(char)
+ end if
end loop
}}}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---