Table of Content
HAL Forum
function string GetStringFromArea (
area Data,longint StartByte,integer Length)
Description:
Returns a part of the specified area as a string. This function is NOT bit-safe.
Parameters:
Data Data from where the string is going to be extracted
StartByte Starting byte for the string to be extracted (starts from 0)
Length Length of the string to be extracted (max len. 256 characters)
// This will run right after HansaWorld has been started
global
updating procedure OnApplicationStartup()
begin
  area data;
  
  AddTextToArea("Hello World!",data);
  stopalert(GetStringFromArea(data,6,5));

  return;
end;
Related topics:
««