Содержание

GetStorageItem

Gets from the storage on the specified address an element which is correspond to specified key and ID.

Syntax

function GetStorageItem(aStorageURL: string; aStorageKey: string;
  aCryptoKey: string; aItemID: integer=-1; aStoragePass: string=''): TCSStorageItem;

Parameters

Returned value

Notes

Examples

  1. //Get a random element from the storage
    var item:=GetStorageItem('http://mysite.ru/storage.php','requests','mycrypto');   
    //If the ID of the element is greater than zero, then send it's string to the log.
    if item.ItemID>0 then Log(item.Data);