以下2段小程式都是找出 當日漲幅低於5% 的股票
編譯2個都沒有問題, 但 選股中心 執行時上方程式無法執行
下方程式卻是ok, 意思一樣 寫法不一樣 問題出在何處呢? tks.
if close>close[1] and (close-close[1]/close[1])<5/100 then
ret=1;
if close>close[1] and close<close[1]*1.05 then
ret=1;
以下2段小程式都是找出 當日漲幅低於5% 的股票
編譯2個都沒有問題, 但 選股中心 執行時上方程式無法執行
下方程式卻是ok, 意思一樣 寫法不一樣 問題出在何處呢? tks.
if close>close[1] and (close-close[1]/close[1])<5/100 then
ret=1;
if close>close[1] and close<close[1]*1.05 then
ret=1;
1 評論