Re: A simple program to display numbers counting up
From: Jim B (jjbrailey_at_yahoo.co.uk)
Date: 03/27/04
- Next message: Neil Kashmiri - Hindu Sikh: "Re: My Indian co-workers' body stench"
- Previous message: Malcolm: "Re: how to attract grades 7-10 to Computer Science?"
- In reply to: mensanator: "Re: A simple program to display numbers counting up"
- Next in thread: Mensanator: "Re: A simple program to display numbers counting up"
- Reply: Mensanator: "Re: A simple program to display numbers counting up"
- Reply: CBFalconer: "Re: A simple program to display numbers counting up"
- Reply: Alf P. Steinbach: "Re: A simple program to display numbers counting up"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Mar 2004 00:41:55 -0800
Hi Thanks for that.. It works fine on my PC at work (Win2000), but
every time I try to run it at home (Win98) I get Syntax Error.
Thanks for your help so far, any idea's on this?
Cheers
Jim
mensanator@aol.com (mensanator) wrote in message news:<fbf22ff1.0403251905.75649b8c@posting.google.com>...
> jjbrailey@yahoo.co.uk (Jim B) wrote in message news:<a1773d52.0403251158.c7b31e6@posting.google.com>...
> > Hi
> >
> > I have no programming experience or tools, however my 6 year old son
> > would like to watch the computer "count up" to see how high a number
> > it can get to!
> >
> > What is the best way to achieve this such that he can see the numbers
> > count upwards (i.e. slow enough that he can see 1, 2, 3, 4, etc)?
> >
> > Any thoughts and idea's or solutions greatly received!
> >
> > Thanks
> >
> > Jim
>
> Shall I assume you at least are using Windows?
>
> Open Notepad and type in the following three lines:
>
>
> @echo off
> cls
> for /L %%i in (1,1,%1) do for /L %%j in (1,1,%2) do if %%j==%2 echo %%i
>
>
> Save the file as count.bat in the My Documents folder.
>
> Start a command prompt. If your prompt isn't the My Documents folder,
> go there and type:
>
> count 100 10000
>
> to see numbers count from 1 to 100. The first number after count is how
> high to count and the second is the speed at which it counts. If it's
> counting too fast for your son to watch, enter a bigger number. If you
> get ridiculous and do something like
>
> count 1000000 100000
>
> you can interupt it by typing ctrl-C and when prompted
>
> Terminate batch job (Y/N)?
>
> type Y to stop it.
- Next message: Neil Kashmiri - Hindu Sikh: "Re: My Indian co-workers' body stench"
- Previous message: Malcolm: "Re: how to attract grades 7-10 to Computer Science?"
- In reply to: mensanator: "Re: A simple program to display numbers counting up"
- Next in thread: Mensanator: "Re: A simple program to display numbers counting up"
- Reply: Mensanator: "Re: A simple program to display numbers counting up"
- Reply: CBFalconer: "Re: A simple program to display numbers counting up"
- Reply: Alf P. Steinbach: "Re: A simple program to display numbers counting up"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|