---------- Forwarded message ----------
Date: Thu, 15 Apr 2004 05:13:46 -0400
From: Jude DaShiell <[EMAIL PROTECTED]>
Reply-To: dos-discuss <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [DOS-DISCUSS] QBasic ascii Animation?

Sure, a two dimensional string array could have handled that screen
display too.  The array would have had to have been filled with spaces
first though and displayed blank.  Then with each addition of the *
character in desired position, the whole array would have to be displayed
again.



On Wed, 14 Apr 2004, ANDY wrote:

> 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
>

Reply via email to