Posted via ActualForum NNTP Server 1.5
<?xml version="1.0" encoding="utf-8" ?> <codetemplate xmlns="http://schemas.borland.com/Delphi/2005/codetemplates" version="1.0.0"> <template name="for" invoke="auto"> <script language="Delphi" onenter="false" onleave="false" onvalidate="true"> ValidateForTemplate; </script> <point name="index"> <text> i </text> <hint> loop counter </hint> </point> <point name="val"> <text> 0 </text> <hint> loop low bound </hint> </point> <point name="count"> <text> </text> <hint> loop high bound </hint> </point> <description> for (no begin/end) </description> <author> Embarcadero </author> <script language="Delphi" onenter="false" onleave="true"> DeclareVariable(|index|); </script> <code language="Delphi" context="methodbody" delimiter="|"><![CDATA[for |index|:=|val| to |count|-1 do begin |*||end| ]]> </code> </template> </codetemplate>
for |index|:=|val|