|
Extracts data from specified area and returns it as a new area. Returns the length of the extracted area. |
|
TargetArea |
The area, from where we are extracting the data |
startpois |
The starting byte of the extraction (starting from 1) |
length |
The length of the chunk being extracted |
ExtractedData |
Area, that will contain the extracted data |
|
global
updating procedure OnApplicationStartup()
begin
area text,extracted;
AddStringToArea("Hello World!!",text);
GetAreaFromArea(text,7,5,extracted);
stopalert(GetStringFromArea(extracted,0,5));
return;
end;
««