Edit Proper Indent

(Difference between revisions)
Jump to: navigation, search
Admin (Talk | contribs)
(Created page with "This option will properly indent your code.   Indention is used to make code better readable. Every structure will be indented. And nested will increase indenting. &n...")
Newer edit →

Revision as of 10:35, 24 August 2013

This option will properly indent your code.

 

Indention is used to make code better readable.

Every structure will be indented. And nested will increase indenting.

 

 

 

This code :

 

 For C = 0 To 100

  B = A(c)

  Print "Read " ; C ; ":" ; B ; "/" ; Hex(b)

  Waitms 4

Next

 

 

Will be transformed into :

 

 For C = 0 To 100

    B = A(c)

    Print "Read " ; C ; ":" ; B ; "/" ; Hex(b)

    Waitms 4

 Next

 

 

And this is a sample with nesting :

 

Do

 Input "Data to write ? (0-255)" , D

 

 Print "Reading content of EEPROM (via ERAM Byte)"

 For C = 0 To 100

    B = A(c)

    Print "Read " ; C ; ":" ; B ; "/" ; Hex(b)

    Waitms 4

 Next

Loop

Languages   English  
Personal tools
Namespaces
Variants
Actions
Navigation
Language