Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
BeaVe 07.05.2009 10:42
@CLASS conceptStorage @OPTIONS locals @create[hshOptions] $self._isReleased[initial value] @isReleased[] $result[^if(def $_isReleased){DEF}{NODEF}, value: $_isReleased. CLASS: $_isReleased.CLASS_NAME] @setRelease[altRelease] $result[] $self._isReleased[$altRelease]Тест:
^oStorage.isReleased[] # result: # DEF, value: initial value, CLASS: string ^oStorage.setRelease[new value] ^oStorage.isReleased[] # result: # DEF, value: new value, CLASS: string ^oStorage.setRelease[] ^oStorage.isReleased[] # result: # NODEF, value: , CLASS: string