Explorar el Código

+ Use fields.count instead of fieldcount testpop.pp

michael hace 21 años
padre
commit
d560eb5087
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      fcl/db/memds/testpop.pp

+ 1 - 1
fcl/db/memds/testpop.pp

@@ -61,7 +61,7 @@ begin
         Inc(ACount);
         Writeln('Record ',ACount,' : ');
         Writeln('------------------------');
-        For I:=0 to FieldCount-1 do
+        For I:=0 to Fields.Count-1 do
           Writeln(Fields[I].FieldName,' : ',Fields[I].AsString);
         Writeln;  
         Next;