Table of Content
HAL Forum
procedure AreaBase64Decode (
area EncodedArea,var area DecodedArea)
Description:
Decodes a base 64 encoded area. This is a bitsafe alternative to Base64Decode.
Parameters:
EncodedArea Area that contains b64 encoded data
DecodedArea Area that will receive the b64 decoded data
// This will run right after HansaWorld has been started
global
updating procedure OnApplicationStartup()
begin
  area a,a2;

  AddTextToArea("SGVsbG8gV29ybGQhIQ==",a);  // B64 encoded "Hello World!!"
  AreaBase64Decode(a,a2);  
  stopalert(GetStringFromArea(a2,0,13));
  
  return;
end;
Related topics:
««