{ Learn Code. Share Code. Teach Code. Love Code. }

  • Search

  • Search it up!

Search found 1811 matches

 Go to advanced search

Re: Check if string contains Letters?

 by Cheatmasterbw ¦  Mon Jan 14, 2013 1:14 am ¦  Forum: Coding Help & Support ¦  Topic: Check if string contains Letters? ¦  Replies: 4 ¦  Views: 164

you can also use the isNumeric function:

Code: Select all
if isNumeric(StringVariable) then
...
end if

Re-draw control asynchronously?

 by Cheatmasterbw ¦  Thu Jan 10, 2013 12:16 am ¦  Forum: Coding Help & Support ¦  Topic: Re-draw control asynchronously? ¦  Replies: 0 ¦  Views: 124

I'm working on a tetris game. After about 30 levels, the speed of the game stays the same because the redrawing of the board is slowing the game down. I want to know if there is a way to asynchronously re-draw the control to prevent the control from slowing the game down. Thanks!

Re: Is there a way to simplify this?

 by Cheatmasterbw ¦  Mon Dec 31, 2012 5:46 am ¦  Forum: Coding Help & Support ¦  Topic: Is there a way to simplify this? ¦  Replies: 3 ¦  Views: 171

I'm wondering if there is a way to put everything in the sub on one line instead of two. It seems like there should be a way, but I don't know how...

Is there a way to simplify this?

 by Cheatmasterbw ¦  Mon Dec 31, 2012 3:46 am ¦  Forum: Coding Help & Support ¦  Topic: Is there a way to simplify this? ¦  Replies: 3 ¦  Views: 171

Is there a way to simplify this code? Sub New(ByVal width As Integer, ByVal height As Integer) Dim result(width, height) As Integer valueBoard = result End Sub I want to set the value of valueBoard to an integer array with a specified width and height and have all values set to zero. Thanks!

Re: Simple compression?

 by Cheatmasterbw ¦  Sat Dec 22, 2012 1:05 am ¦  Forum: Coding Help & Support ¦  Topic: Simple compression? ¦  Replies: 2 ¦  Views: 214

That might be a lot simpler than what I was going to do, and probably more effective.
There's only one problem... I can't find a way to use clsCompressedString...

EDIT: Never mind, it was in the source files. Thanks!

Simple compression?

 by Cheatmasterbw ¦  Sat Dec 22, 2012 12:56 am ¦  Forum: Coding Help & Support ¦  Topic: Simple compression? ¦  Replies: 2 ¦  Views: 214

I've been trying to make functions that can compress and decompress strings, but what I have so far is really inefficient The strings won't contain numbers (but can contain any other character), and will compress like this: ABBCCCDDDDEEEEEFFFFFFFFFF!!? will convert to... A2B3C4D5E10F2!? Can you make...

Re: Gangnam Style the first youtube video to hit one billion !

 by Cheatmasterbw ¦  Sat Dec 22, 2012 12:52 am ¦  Forum: Codenstuff boardroom ¦  Topic: Gangnam Style the first youtube video to hit one billion ! ¦  Replies: 8 ¦  Views: 293

RyggTonning wrote:I've seen some random videos with 70 billion views...
Do you mean million, because that's about 10 times the world's population xD

Re: Gangnam Style the first youtube video to hit one billion !

 by Cheatmasterbw ¦  Fri Dec 21, 2012 8:48 pm ¦  Forum: Codenstuff boardroom ¦  Topic: Gangnam Style the first youtube video to hit one billion ! ¦  Replies: 8 ¦  Views: 293

And only in 6 months. That's amazing to me... 1000000000... wow. :P

Re: It's the end of the world as we know it!

 by Cheatmasterbw ¦  Fri Dec 21, 2012 11:05 am ¦  Forum: Codenstuff boardroom ¦  Topic: It's the end of the world as we know it! ¦  Replies: 23 ¦  Views: 501

dec. 21 just started in mexico (where the mayans lived), so don't dismiss the end of the world just yet, we still have 18 more hours :P

Re: It's the end of the world as we know it!

 by Cheatmasterbw ¦  Fri Dec 21, 2012 1:47 am ¦  Forum: Codenstuff boardroom ¦  Topic: It's the end of the world as we know it! ¦  Replies: 23 ¦  Views: 501

Is it the 22nd for anyone yet :P
I have 3 more hours until the 21st starts D:

  • 1
  • 2
  • 3
  • 4
  • 5
  • 182