[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]

EXAMPLE of SPC Function:
   10 PRINT"RIGHT "; "HERE &";
   20 PRINT SPC(5)"OVER" SPC(14)"THERE"
   RUN

   RIGHT HERE &     OVER              THERE

SQR

TYPE: Floating-Point Function
FORMAT: SQR (<numeric>)

Action: SQR gives you the value of the SQuare Root of the <numeric> argument. The value of the argument must not be negative, or the BASIC error message ?ILLEGAL QUANTITY will happen.

EXAMPLE of SQR Function:
   FOR J = 2 TO 5: PRINT J*S, SQR(J*5): NEXT

   10   3.16227766
   15   3.87298335
   20   4.47213595
   25   5

   READY

STATUS

TYPE: Integer Function
FORMAT: STATUS

Action: Returns a completion STATUS for the last input/output operation which was performed on an open file. The STATUS can be read from any peripheral device. The STATUS (or simply ST) keyword is a system defined


[Prev] [Next] [Contents] [Commodore] [New] [Search] [Home]
This page has been created by Sami Rautiainen.
Read the small print. Last updated November 14, 1998.