Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Qbasic Countdown

92 views
Skip to first unread message

Klaus

unread,
Oct 8, 1998, 3:00:00 AM10/8/98
to
Check the help file for For..Next statements.

Opie311n wrote in message <19981008201614...@ng63.aol.com>...
>
>Could someone tell me how to make a program that would countdown from 10 to
0?
>I am not sure what version of Qbasic it is, but it came with Win NT 4.0.
>"Whoever conquers the future commands the past, Who ever controls the past
>conquers the future."
>

Opie311n

unread,
Oct 9, 1998, 3:00:00 AM10/9/98
to

BlisterGoo

unread,
Oct 9, 1998, 3:00:00 AM10/9/98
to
In article <6vjn2l$ro2$1...@newshost.cyberramp.net>, "Klaus" <klau...@zdnetmail.com> wrote:
>Check the help file for For..Next statements.
>
>Opie311n wrote in message <19981008201614...@ng63.aol.com>...
>>
I think

1 let num% = 10
2 print num%
3 let num% = num% -1
if num% = 0 then goto eend
print num%
goto 3
eend:
end

But I haven't done this in years.

Digital Brick

unread,
Oct 9, 1998, 3:00:00 AM10/9/98
to
Or perhaps

start = 0
limit = 10
FOR counter = start TO limit
PRINT limit - counter
NEXT counter
--
From: Digital Brick. (digibrick@dfdsedp*demon*co*uk)
Replace *'s with dots to reply.

John Rosenhøj

unread,
Oct 9, 1998, 3:00:00 AM10/9/98
to
Such a simple question for a Basic programmer!!!
I love Basic, but it JUST ISN'T the language for viruses, Asembler and
C is good, now even Java.
Visual Basic is better.

For I%=10 to 1 step -1
Print I%
sleep 1 'units to wait
next i%

Neonnate2

unread,
Oct 10, 1998, 3:00:00 AM10/10/98
to

oh lord, can't even code in a HLL!!!! at least, not very optomised....anyhow
try this:

for i = 10 to 1 step -1
printi
next

^ have fun

Digital Brick

unread,
Oct 10, 1998, 3:00:00 AM10/10/98
to
Your right - I'm crap at QBasic. However I can code in C/C++ and Assembly
and VB. I'm also thinking about learning Java - a good idea?

Regards

Dave Corun

unread,
Oct 10, 1998, 3:00:00 AM10/10/98
to

For i = 10 to 1 do
? i
Next


It's been so long so I'm probably wrong. hehe.

// Dave

Opie311n wrote in message <19981008201614...@ng63.aol.com>...
>

John Rosenhøj

unread,
Oct 11, 1998, 3:00:00 AM10/11/98
to
You are a crook !
Programming in all those languages AND in VB , but can't in QB, come
on . Your just writing junk to write something

Digital Brick

unread,
Oct 11, 1998, 3:00:00 AM10/11/98
to
For christ sake - I'm 45 years old, I've been programming since about 20. I
didn't say I couldn't program in QBasic - I just said that I wasn't very
good at it - just like I'm not very good at VB or Java - but I can write
some programs in them.

Daniel Johnson

unread,
Oct 11, 1998, 3:00:00 AM10/11/98
to

>John Rosenhøj wrote in message <3620be7a...@news.ping.be>...

>You are a crook !
>Programming in all those languages AND in VB , but can't in QB, come
>on . Your just writing junk to write something

Me thinks he's talking about syntax not style... Crook indeed. Tut, tut.

John Rosenhøj

unread,
Oct 12, 1998, 3:00:00 AM10/12/98
to
I mean, you can *easely* show fancy things, meanwhile your computer is
getting teared down.


On Mon, 12 Oct 98 06:08:38 GMT, 127.0.0.1 (RAiD) wrote:

>In article <361e7e6a...@news.ping.be>,


> John.R...@ping.be (John Rosenhøj) wrote:
>>Such a simple question for a Basic programmer!!!
>>I love Basic, but it JUST ISN'T the language for viruses, Asembler and
>>C is good, now even Java.
>>Visual Basic is better.
>

>Visual Basic for a virus is horrible!
>
>
>Regards,
>RAiD [SLAM]
>__________________________________________________
>Email: DEDTEBDWBUDJEHEEDYCMCWENEGEHBUCPEHEF
>If emailing, expect delays for replies, As I do not
>check the account often. For valuable information
>on a product known as Invircible, please see the url:
>http://www.idg.co.nz/magazine/pcworld/may98/invircib.htm
>AZ encoding in use as an Anti-Spam Measure.


int19

unread,
Oct 14, 1998, 3:00:00 AM10/14/98
to
Applauding.

BTW.
Where did all the batch/qbasic/vb aolamers come from in the first place?
Where did the nice assembly algorithms go?

> Have you seen what VB looks like? How can you even consider it 'programming'
> Drag fucking drop, maybe the occasional code snippit for the button. What ever
> happened to a real GUI? One that you actually knew exactly how it worked because
> you wrote the entire thing... Sigh.

int19h

unread,
Oct 15, 1998, 3:00:00 AM10/15/98
to
Uhh... didn't everybody just agree that this is NOT a virii?

John Rosenhøj wrote:

> I mean, you can *easely* show fancy things, meanwhile your computer is
> getting teared down.
>
> On Mon, 12 Oct 98 06:08:38 GMT, 127.0.0.1 (RAiD) wrote:
>
> >In article <361e7e6a...@news.ping.be>,
> > John.R...@ping.be (John Rosenhøj) wrote:
> >>Such a simple question for a Basic programmer!!!
> >>I love Basic, but it JUST ISN'T the language for viruses, Asembler and
> >>C is good, now even Java.
> >>Visual Basic is better.
> >
> >Visual Basic for a virus is horrible!
> >
> >

0 new messages