문제

I am trying to create a multiple condition while loop in IDL with no success. For example:

while (delta_flux gt 1.0) or (lt -1.0) do begin
;something here...
endwhile

returns:

IDL> .run flare_finder_while_attempt5.pro

      while (delta_flux gt 1.0) or (lt -1.0) do begin
                                    ^
% Syntax error.

Is there a way of doing this?

도움이 되었습니까?

해결책

Try:

while (delta_flux gt 1.0) or (delta_flux lt -1.0) do begin
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top