Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 15/03/2009 @ 13:30 by aldweb
visitor |
Hello Gary,
Yes there is! Nothing should be put after the THEN part of a IF condition THEN statement.
IF A=12 THEN I=%RISE%:U=%RUN1% H=%HYP%:A=I*I:B=U*U:C=H*H D=A+B-C:E=2*I*U:F=D/E:G=ACOS(F) P=DEGREE(G) %C%=P:GOSUB _PRNT_C:A=I*I:B=U*U:C=H*H J=C+A-B:K=2*H*I:N=J/K:L=ACOS(N) M=DEGREE(L) %A%=M:GOSUB _PRNT_A:%B%=%C%-%A% GOSUB _PRNT_B ENDIF
Cheers, aldweb
|