Posts: 6,419
Threads: 74
Joined: Mar 2002
Furthermore, if you recheck the great GOTO/anti-GOTO flame wars you'll notice that I was one of those who defended the proper use of GOTO *but* I still think that showing it to newbies is an error. Only experienced programmers like we can use it properly :wink:
Posts: 3,368
Threads: 195
Joined: Jan 2003
Whitetiger isn't a newbie.. is he?
How do you classify newbieness?
The minimum for a newbie, I'd have to say, was HPLil...
But the maximum?
PS: I'm grateful that we reached a mutually acceptable outcome during those flame wars. (shakes hands again)
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 2,765
Threads: 138
Joined: Nov 2002
Quote:Whitetiger isn't a newbie.. is he?
i dont know? am i?
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 6,419
Threads: 74
Joined: Mar 2002
I never called whitetiger a newbie.
Everyone is a newbie in something or another. I am a newbie in PHP coding.
Posts: 3,279
Threads: 170
Joined: Nov 2003
I'm a newbie in masm32's more advanced techniques.
I'd knock on wood, but my desk is particle board.
Posts: 2,765
Threads: 138
Joined: Nov 2002
Quote:Everyone is a newbie in something or another. I am a newbie in PHP coding.
yup, im a newbie at things i dont know hoe to do. :normal:
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 3,343
Threads: 83
Joined: Mar 2003
So am I
All the more reason to plow into them :lol:
Posts: 2,765
Threads: 138
Joined: Nov 2002
Quote:So am I
All the more reason to plow into them :lol:
lol, just relised the spelling mistake
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 31
Threads: 3
Joined: Nov 2003
DIM OA(1000), OB(1000)
RANDOMIZE TIMER
FOR X = 1 TO 10
1
A1 = INT(RND(1) * 620) + 1
B1 = INT(RND(1) * 460) + 1
IF OA(A1) > 0 AND OB(B1) > 0 THEN 1
OA(A1) = A1
OB(B1) = B1
OA = OA(A1) + 10: OB = OB(B1) + 10
SCREEN 12
FOR A = 0 TO 9
FOR B = 0 TO 9
C = 1
PSET (A + OA, B + OB), C
NEXT: NEXT: NEXT
This simple program will do what is said in the orginal post.
eace is desirable but, War is inevitable.
Posts: 3,368
Threads: 195
Joined: Jan 2003
You still have overlaps like that. Also, why are you using random subscripts?
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.