Hi lists, sorry for cross-posts,
I was just wondering___
in the late '80's (I rode my 10-speed bike) to a computer programming job
interview... the interview consisted of a "test"...
the "test" was/I was asked to write a BASIC program using a, it seemed,
networked, CLI monitor/computer etc.
I was asked to write a BASIC program that would draw a rectangle on
the monitor screen with the asterik character "*", then sequentially
draw smaller rectangles within the first...
like this:
********************
***************** *
* ************* * *
* * *********** * *
* * * <-* * * * * *
* * *********** * *
* *************** *
*******************
I found this task immpossible recently using QBasic
first I wrote two simple loops using two PRINT statements, on
paper, thinking that the PRINT command, or I, could simply PRINT(X,Y);"*"
on/to sequential or any given set of x,y coordinates at any time...
little did I realize that everytime PRINT is invoked it prints
to/on a new/next line...
and to meet such an above program specification, I guess one must
know/have known? something about animation and computer animation,
writing/printing such asteriks to individual *frames*, then sequentially
with appropriate pauses putting/assembling all of them together so that
the above animation would/will appear on the/a blank cli computer screen
my question is: can this be done using CLI Basic?? I've come to a
conclusion that it cannot... am I correct in this conclusion?
how far did human-kind get in such CLI ascii animation projects? using
BASIC??
I mean: could this be done/have been done using an array or arrays?,
somehow creating and storing such "screen "frames"", then or
simultaneously resassembling them, in or using array memory?
just curious___
Andy