CLS
n = 55555
FOR I = 1 TO 5
PRINT n;
n = n \ 10
NEXT I
END
n = 55555
FOR I = 1 TO 5
PRINT n;
n = n \ 10
NEXT I
END
Using SUB Procedure
DECLARE SUB SERIES()
CLS
CALL SERIES
END
SUB SERIES
n = 55555
FOR I = 1 TO 5
PRINT n;
CLS
CALL SERIES
END
SUB SERIES
n = 55555
FOR I = 1 TO 5
PRINT n;
n = n \ 10
NEXT I
END SUB
NEXT I
END SUB
Using FUNCTION Procedure
DECLARE FUNCTION SERIES()
CLS
s = SERIES
END
FUNCTION SERIES
n = 55555
FOR I = 1 TO 5
PRINT n;
CLS
s = SERIES
END
FUNCTION SERIES
n = 55555
FOR I = 1 TO 5
PRINT n;
n = n \ 10
NEXT I
END FUNCTION
END FUNCTION
No comments:
Post a Comment
If you have any doubts, Please let me know.