Posted: 2nd May 2003 13:30
many a times in ur program or game, u put the print command between the do and the loop command resulting in the repeated printing of the text. A person told me, you are Dark_Basic_Pro_Master, do it urself like toher pros. This happened when i asked them about this. I am proud to know how to do this and i want you all to know too!

Code below will type Hello thousand times!

+ Code Snippet
do
print "Hello"
sync
loop


Now what will u do so that u can print it only once but still the text should be in the do/loop command. This is the answer

+ Code Snippet
do
set cursor 0,0 `The 0,0 parameters are the x and y position of the text. Fill this with the x y location of the text to be displayed.
print "Hello"
sync
loop


That will print it only once. The 0,0 parameter will print it in the normal place that is to the top left corner of the screen. So no worrys from now guys.
Posted: 2nd May 2003 13:34
Hey remember to remove the comment "`The 0,0 parameters are the x and y position of the text. Fill this with the x y location of the text to be displayed." in line two or u will get an error. Another thing, having my nick as Dark_Basic_Pro_Master doesn't make me a dbpro master, as having my nick as a good boy doesn't make me good when i am bad!
Posted: 3rd May 2003 2:59
damn you good..really..
Posted: 3rd May 2003 6:28
text 0,0,"this is the same thing also"
Posted: 3rd May 2003 6:47
what indi said is also right! Thanks for telling me good Chiwawa,i am just a 13 year boy who doesn't know dark basic programming that much.
Posted: 3rd May 2003 6:52
Don't worry, you could be real good one day if you practice.

I'm only 13 too. I started a few years ago though.
Posted: 3rd May 2003 7:02
Lol,

Is this a joke?

I think Chiwawa gets it!

Cheers?
Posted: 3rd May 2003 7:15
Is what a joke?
Posted: 3rd May 2003 7:57
frustration = inept ability and clear thought.

any payouts on younger coders who might be catching up only shows your inferior ability to be tolerant and usually means u have no skills to support anything better so u hand a payout.

just keep practising and learning,regardless of the spam monkeys and there opinions.
Posted: 3rd May 2003 14:50
ok
Posted: 3rd May 2003 18:51
Chiwawa seems to forget that there is always someone better than you. (I don't know how good he is, he could be a better code than me).
Just give people a break. Text commands always got me. Mine always ended up flashing....
Posted: 3rd May 2003 19:20
spam monkeys monkeys arent all that bad
Posted: 25th Jun 2003 20:07
I wanted to have a look at the code that prints text only once.
I have problems with Text, I am still formulating my library of usefull codes, trying to find a way to standartise and print text while looping, more than that, try to take a long string and make it multyline and still "text x,y,str$"-it to look nicelly, and stop flashing

I am not going to say the code our friend pro_master solved my problem. He is facing the same problems all of us face or faced in the back and the joy of solving something seemingly complex with a simple code. Analytical mind, thats what we all have and can not compare, no matter how good you are and how many skills you have your analytical mind is what counts...

I think he fell a bit of a victim of his name. But when he becomes a master, no doupt about it, he'll have the name registered! Shouldnt blame him for forward thinking!

Also, there was a bit of irony in some replies. Fair enough is say, sometimes it happens, so what...

I envy the 13 year olds who program with such nice tools that early. I was doing clipper and DBIII plus back in the late 80's early nineties... and all I wanted to program was games!

Adios!
Posted: 25th Jun 2003 20:09
and yes... I agree we dont need Lawyers here...