Search Results for

    Show / Hide Table of Contents

    Arrays

    FastScript supports all kind of arrays: static (one- and multi-dimesional), dynamic, variant arrays. There is an example of script that uses all array types:

    var 
      ar1: array[0..2] of Integer;
      ar2: array of Integer;
      ar3: Variant;
    
    SetLength(ar2, 3);
    ar3 := VarArrayCreate([0, 2], varInteger);
    ar1[0] := 1;
    ar2[0] := 1;
    ar3[0] := 1;
    
    Back to top © Copyright Fast Reports Inc.