Changes between Version 17 and Version 18 of MapGuideCodingStandards


Ignore:
Timestamp:
07/14/08 13:01:35 (16 years ago)
Author:
jbirch
Comment:

code example formatting

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideCodingStandards

    v17 v18  
    345345{{{
    346346#!cpp
    347         for (initialization; condition; update);
     347for (initialization; condition; update);
    348348}}}
    349349
     
    394394{{{
    395395#!cpp
    396         while (condition);
     396    while (condition);
    397397}}}
    398398
     
    505505{{{
    506506#!cpp
    507         return (condition ? x : y);
     507    return (condition ? x : y);
    508508}}}
    509509
     
    533533if (pData != NULL)
    534534{
    535         int nSize = pData->GetSize();
    536         ...
     535    int nSize = pData->GetSize();
     536    ...
    537537}
    538538}}}
     
    800800{{{
    801801#!cpp
    802     if (filename.EndsWith(".txt"))    // NOXLATE
    803     {
    804         ...
    805     }
     802if (filename.EndsWith(".txt"))    // NOXLATE
     803{
     804    ...
     805}
    806806}}}
    807807