Need Only 4 Lines Of Code

by MarineDon (Login MarineDon)
R

'The small program below will print:
'x
'xx
'xxx
'xxxx
'xxxxx

FOR yoyo = 1 TO 5
X$ = "x"
Y$ = Y$ + X$
PRINT Y$
NEXT

'Regards, Don Smith

Posted on Nov 18, 2009, 1:56 PM

Respond to this message   

Return to Index

Response TitleAuthor and Date
Three lines actually...RpgFan on Nov 18
 * STRING$ can also use an ASCII code to print X. (88)Clippy on Nov 18
Need only 4 lines of codeJohnny on Nov 18
 Variable names are up to the programmer.Clippy on Nov 18
  Thanks everybodyJohnny on Nov 18

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement