Table of Content
HAL Forum
procedure InsertAreaBeforeArea (
area InsertArea,var area BeforeArea)
Description:
Will join the two areas together by inserting one area before the other
Parameters:
InsertArea Area that will be inserted
BeforeArea Area that will receive the inserted area
// This will run right after HansaWorld has been started
global
updating procedure OnApplicationStartup()
begin
  area a,b;
  
  AddTextToArea("Hello",a);
  AddTextToArea(" World!!",b);
  InsertAreaBeforeArea(a,b);
  stopalert(GetStringFromArea(b,0,GetAreaLength(b)));

  return;
end;
Related topics:
««