Tuesday, February 28, 2017

Iterate Container

Static void IterateContainer(Args _args)
{
            Container colors = ["Black", "White", "Red"];
            int        count;
           
            for(count=1; count <= conlen(colors); count++)
            {
                 info(strfmt("%1 - Color: %2", count, conpeek(colors,count)));
            }
}   

No comments:

Post a Comment