Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Question about EH and Scripts  (Read 7697 times)

0 Members and 1 Guest are viewing this topic.

Offline Denisko-Redisko

  • Members
  • *
Re: Question about EH and Scripts
« Reply #15 on: 25 Mar 2011, 08:14:18 »
Quote
Interesting - I was merely referencing Suma's comment about it being undefined when used outside of a loop... but then your reference would seem to counter that, anyway.
Oh, sorry   :confused:
but nevertheless:
Code: [Select]
_var = _k call {
    if (_this == 1) exitwith { "a" };
    if (_this == 2) exitwith { "b" };
    if (_this == 3) exitwith { "c" };
    "d" // default value
}
« Last Edit: 25 Mar 2011, 08:16:16 by Denisko-Redisko »
sorry for my english