Table of Content
HAL Forum
function string GetLineFromArea (
area SourceArea,integer LineNumber)
Description:
Retrieves a part of the area by segmenting it into chunks, using the line endings as delimiters.
Parameters:
SourceArea Area that contains the multi-lined data
LineNumber The line number from where we are extracting the data.
// This will run right after HansaWorld has been started
global
updating procedure OnApplicationStartup()
begin
  area a,b;
  Integer 

  AddTextToArea("Hello" & chr(10) & "World!!",a);
  stopalert(GetLineFromArea(a,0));
  stopalert(GetLineFromArea(a,1));

  return;
end;

Related topics:
««