AddStorageItems

Adds specified data to the storage on the specified address.

Syntax

procedure AddStorageItems(aStorageURL: string; aStorageKey: string;
  aCryptoKey: string; aItems: array of string; aStoragePass: string = '');

Parameters

  • aStorageURL
    • type: string
    • functions: storage address
  • aStorageKey
    • type: string
    • functions: identification key
  • aCryptoKey
    • type: string
    • functions: key for encryption / decryption
  • aItems
    • type: array of string
    • functions: strings that should be added to the storage
  • aStoragePass
    • type: string
    • functions: password to access the storage

Notes

Examples

  1. var Items:array of string;
    Items.Add('first item');
    Items.Add('second item');
    Items.Add('third item');
    //Add the elements to the storage
    AddStorageItems('http://mysite.ru/storage.php','requests','mycrypto',Items);