[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
     NAME: FillChar

     USE: Procedure to fill a variable with a specified number of bytes
          of a specified value. The arguments FillChar receives are the
          Variable to fill, the size to be filled and the ordinal-type
          value to fill the variable.  Care should be taken since no
          range checking is performed.

     DEPENDENCY:  None

     SYNTAX:  FillChar(Variable, Start, Value);
             FillChar(AnyType, Word, OrdinalValue);

     EXAMPLE:  Program TestFillChar;
               Var
                 VariableFill : Array[1..100] of Char;

               Begin
                  FillChar(VariableFill,SizeOf(VariableFill,' ');
               end.

See Also: Move SizeOf
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson