1
0

Menu.AddCondition 390 B

123456789101112
  1. # Menu.AddCondition
  2. if $ARGS[0] = '' or $ARGS[1] = '':EXIT
  3. !!----------
  4. ARGS[10] = dyneval("Result = arrsize('otg_Menyu_<<$ARGS[0]>>')")
  5. if dyneval("$Result = $otg_Menyu_<<$ARGS[0]>>[<<ARGS[10]>>-1]") = '-:-':exit
  6. !!----------
  7. dynamic "
  8. $otg_Menyu_<<$ARGS[0]>>_parameters['<<ARGS[10]>>y'] = '<<replace($ARGS[1], '''', '''''')>>'
  9. "
  10. --- Menu.AddCondition ---------------------------------