Files
dev/script/test/TestScan.py
2019-03-20 13:52:00 +01:00

17 lines
301 B
Python
Executable File

print get_exec_pars().source
if get_exec_pars().source == CommandSource.ui:
msg = None
start = 0
end = 10.0
steps = 10
else:
msg = None
start = float(args[0])
end = float(args[1])
steps = int(args[2])
print msg
r = lscan (out, sin, start, end, steps, 0.2)