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."
>
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.
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.
For I%=10 to 1 step -1
Print I%
sleep 1 'units to wait
next i%
for i = 10 to 1 step -1
printi
next
^ have fun
Regards
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>...
>
Me thinks he's talking about syntax not style... Crook indeed. Tut, tut.
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.
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.
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!
> >
> >