En:isValueExists
Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.
Содержание |
[править]
Syntax
isValueExists(key : String) : Boolean
[править]
Description
Check: value exists in repository;
[править]
Parameters
- key - string. Value identifier;
[править]
Result
The function returns true if value by key exists, false otherwise. Data type - Boolean;
[править]
Example
if (isValueExists("inventoryCreated")) then
var val=LoadValue("inventoryCreated");
if (val==1) then
return
endif
endif
[править]