oh...yeah..... that one. oh... oh..... ok..... i'll just slap myself on the head.
INPUT "What width and height do you want? ", A%, B%
FOR I% = 1 to A%
FOR J% = 1 to B%
PRINT "*"; 'If you don't have the ;, QBASIC will automatically add a carriage return (skip to the next line)
NEXT J%
PRINT
NEXT I%
or with string$ um I guess:
INPUT "What width and height do you want? ", A%, B%
FOR I% = 1 to A%
PRINT STRING$(B%, "*")
NEXT I%
Well I really ruined this guy's future career in CS by giving him the answer, didn't I?
EDIT: made length width and added a chr$(32).