f_power_ind_fileclassedit.srf 511 B

123456789101112131415161718
  1. $PBExportHeader$f_power_ind_fileclassedit.srf
  2. global type f_power_ind_fileclassedit from function_object
  3. end type
  4. forward prototypes
  5. global function boolean f_power_ind_fileclassedit (long arg_classid)
  6. end prototypes
  7. global function boolean f_power_ind_fileclassedit (long arg_classid);long i
  8. if arg_classid<=0 then return false
  9. IF Pos(sys_user_class_edit_str,','+String(arg_classid)+',') > 0 OR sys_user_class_edit_str = '0' or sys_power_issuper THEN
  10. return true
  11. else
  12. return false
  13. end if
  14. end function