Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i need some help
#21
That looks like the first clumsy solution........................
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.
Reply
#22
I used that swap technique to shuffle the cards in my blackjack game, thanks Big Grin.
LinkMaster Sab
Reply
#23
why not.....



Untested.
Code:
defint a-z

Dim A(1 to 50)

for i=1 to 50
      A(i)=i
Next i

for I=1 to 50
    Rand%=1+int(rnd*50)
    Swap A(i), A(rand%)
Next i
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#24
*Aims his Gauss rifle at relsoft.....*
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)