Table of Content
HAL Forum
procedure WriteAreaToFile (
area Data,string FileName,integer Reserved)
Description:
Writes the contents of an area into a specified file.
Parameters:
Data The area which will be written into the destination file
FileName The path and name of the destination file
Reserved Reserved for internal use. Should be 0.
// This will run right after HansaWorld has been started
global
updating procedure OnApplicationStartup()
begin
  area a;
  
  AddTextToArea("Hello World!",a);
  WriteAreaToFile(a,"hello.txt",0);

  return;
end;
Related topics:
««