[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Low-level vs. High-level programming (was My First Computer)



pausch@saaf.se (Paul Schlyter) wrote in
news:bd0rt1$2b39$1@merope.saaf.se: 

 
> Easy: you add one set of HTML pages for each possible score.....
  
> Using variables for this is of course convenient, but it's not an
> absolute requirement.  You can keep track of ball velocity and score
> by making one HTML page for each and every possible combination of:
>  
>   ball position
>   ball velocity
>   paddle position
>   paddle velocity
>   score
>  
> and then link all those pages to one another in an appropriate way.
>  
> Of course this will make the number of HTML pages astronomical,
> but in principle it's quite possible.
>  

Ok, and how do you control timing. A game requirement. How do you handle 
FOR...NEXT kind of loops. Yeah but let's go with something that has been 
around for a LONG while in the field of programming. Let's start think of 
an Accounting program that handles what data has been transacted. This is 
something that been a part of programming for a LONG LONG time. Data 
transaction, another key element of a programming language is the basic 
handling of data that you do not have a defined maximum.