# -*- coding: cp1251 -*-
import k3
# import wingdbstub
params = k3.getpar()
nZFt= params[0]
sZFt= params[1]
ZFt = params[2]  #k3.GlobalVarArray('gs_ZFt')

lZFt=[a.value for a in ZFt]
defnull=lambda val: val if val>0 else 0
nZFt.value= len(lZFt) - lZFt.count(0)
sZFt.value=sum(map(defnull,lZFt))
070fb7047ecf95a9cd6061463bc66aa9397600c7
<mask token>

<mask token>
params = k3.getpar()
nZFt = params[0]
sZFt = params[1]
ZFt = params[2]
lZFt = [a.value for a in ZFt]
defnull = lambda val: val if val > 0 else 0
nZFt.value = len(lZFt) - lZFt.count(0)
sZFt.value = sum(map(defnull, lZFt))

import k3
params = k3.getpar()
nZFt = params[0]
sZFt = params[1]
ZFt = params[2]
lZFt = [a.value for a in ZFt]
defnull = lambda val: val if val > 0 else 0
nZFt.value = len(lZFt) - lZFt.count(0)
sZFt.value = sum(map(defnull, lZFt))

# -*- coding: cp1251 -*-
import k3
# import wingdbstub
params = k3.getpar()
nZFt= params[0]
sZFt= params[1]
ZFt = params[2]  #k3.GlobalVarArray('gs_ZFt')

lZFt=[a.value for a in ZFt]
defnull=lambda val: val if val>0 else 0
nZFt.value= len(lZFt) - lZFt.count(0)
sZFt.value=sum(map(defnull,lZFt))