|
Глобальные переменные (:global.).
|
|||
---|---|---|---|
#18+
Можно ли проверить существование глобальной переменной, без применения средств обработки исключений. ... |
|||
:
Нравится:
Не нравится:
|
|||
09.10.2002, 10:45 |
|
Глобальные переменные (:global.).
|
|||
---|---|---|---|
#18+
/* ** Built-in: DEFAULT_VALUE ** Example: Make sure a Global variable is defined by ** assigning some value to it with Default_Value */ BEGIN /* ** Default the value of GLOBAL.Command_Indicator if it is ** NULL or does not exist. */ Default_Value('***','global.command_indicator'); /* ** If the global variable equals the string we defaulted ** it to above, then it must have not existed before */ IF :Global.Command_Indicator = '***' THEN Message('You must call this screen from the Main Menu'); RAISE Form_Trigger_Failure; END IF; END; ... |
|||
:
Нравится:
Не нравится:
|
|||
09.10.2002, 12:55 |
|
|
start [/forum/topic.php?fid=52&fpage=2839&tid=1992972]: |
0ms |
get settings: |
12ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
32ms |
get topic data: |
12ms |
get forum data: |
2ms |
get page messages: |
40ms |
get tp. blocked users: |
2ms |
others: | 310ms |
total: | 432ms |
0 / 0 |