Table of Content
HAL Forum
function integer StrArrayCnt (
array string StrArray)
Description:
Returns the count of elements inside string array where the values have been added with AddToStrArray
Parameters:
StrArray Array of string typed values where the 0-position value has been reserved for element count.
external procedure AddToStrArray(string,var array string);
external function integer StrArrayCnt(array string);

global
procedure OnApplicationStartup() 
begin
  array string 255 arr;
  
  AddToStrArray("One",arr);
  AddToStrArray("Two",arr);
  AddToStrArray("Three",arr);
  
  stopalert(StrArrayCnt(arr));
  return;
end;
Related topics:
««