y=0 oCKn
declare X, double, 1,10 .]; `
zB6&),[,v
X(1)=(5) C-(O*hK
X(2)=(-6) F[X;A\
X(3)=(98) nd h\+7
X(4)=(-1) 4@@gC&:Y
X(5)=(3) ~b9fk)z!
X(6)=(-8) Oz=!EG|N
X(7)=(1) "@itn
X(8)=(-5) Z}>+!Z
X(9)=(4) iv6bXV'N
X(10)=(-3) ?T>N vKF
XE;aJ'kt
/$UWTq/C7
for a,1,10,1 ^C{?LH/2
if X(a)<y then y=X(a) deutY.7g
else y=y `^DP<&{
endif DE$T1pFV
print X(a)," ",y P}D5 j
next D^w<V%].
print "last result:", y AKAxfnaR
mz^[C7(q'(
一个小例子,应该可以解决你的问题