+================================================
+id: 23 - <i>simple</i>
+idhex: 0x00000017 - <b>HEX
+idhexdef: HEX(0x00000017) -<
+ndef:
+ndef def: Wow
+empty
+empty def: "EmptyId" - default
+zero 0
+zero def: 0
+
+ID-YES
+DEFINED ID-YES
+NOT ID-NO
+NOT DEFINED ID-NO
+
+ndefID-NO
+DEFINED ndefID-NO
+DEFINED ndefID-YES
+DEFINED ndefID-YES
+
+
+EmptyId-NO
+DEFINED EmptyId-NO
+DEFINED EmptyId-YES
+DEFINED EmptyId-YES
+
+zeroID-NO
+DEFINED zeroID-YES
+DEFINED zeroID-YES
+NOT DEFINED zeroID-NO
+
+
+
+ ID!=0 && defined(zeroID) - right
+
+
+
+
+
+ 1/1. odd:true even:false
+
+ FIRST LAST id: 23 1234:FOO/1234
+
+
+ <ol>
+ <li>Again 1
+ </ol>
+
+
template.printString = outfunc;
printTemplate( &template );
+ resetTemplate(&template);
+
+ setTemplateValueInt(&template, "ID", 23);
+ setTemplateValueUndefined(&template, "emptyID");
+ setTemplateValueInt(&template, "zeroid", 0);
+ addTemplateRow(&template, "outerLoop");
+ setTemplateValueString(&template, "outerLoop.data1", "ha1");
+ setTemplateValueInt(&template, "outerLoop.data1", 1234);
+ setTemplateValueString(&template, "outerLoop.data2", "FOO");
+ addTemplateRow(&template, "outerLoop.innerLoop");
+ setTemplateValueString(&template, "outerLoop.innerLoop.camenty", "Again 1");
+
+ fputs("================================================\n", stdout);
+ printTemplate( &template );
+
resetTemplate(&template);
freeTemplate(&template);
+
return 0;
}