Hello ANDY, Wednesday, April 14, 2004, 7:29:13 PM, you wrote:
A> I found this task immpossible recently using QBasic It's been a while since I used QBasic, but it should be a fairly simple task, especially if you just want to use asterisk on a text screen. Instead of considering the problem as you would on a graphics screen, where you would call the rectangles one at a time, by describing lines... just consider the problem in terms of lines, using the PRINT command, with each line containing a slice of *all* the rectangles, like a scan line on your TV. Once you can visualise how the placement of asterisk will have to change mathematically, from one line to the next, to achieve the picture you want, you might be able to figure out an algorithm that will work, in a loop or nested loops. A> my question is: can this be done using CLI Basic?? I've come to a A> conclusion that it cannot... am I correct in this conclusion? I never heard of CLI BASIC. I've used just about every BASIC, including PowerBasic, which is current, TrueBasic (By Kurtz), and MT_Basic (multithread), in addition to the Microsofties, but somehow missed CLI. Looks like it might mean Command Line Basic. A> I mean: could this be done/have been done using an array or arrays?, A> somehow creating and storing such "screen "frames"", then or A> simultaneously resassembling them, in or using array memory? I don't think you would need a data structure more complicated than a one dimensional array, with each line stored in a cell, but I think that a nested loop algorithm would be more elegant, if you could figure out the math. -wittig http://www.robertwittig.com/ -weblog http://radio.weblogs.com/0128450/ A business is as honest as its advertising. .
