Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stop Non-numeric strings from crashing the server.
#20
Make sure your functions return the right data type!

Code:
Private Function CCByte(ByRef s As String) As Integer
Code:
Private Function CCByte(ByRef s As String) As Byte

Code:
Private Function CCLng(ByRef s As String) As Integer
Code:
Private Function CCLng(ByRef s As String) As Long
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)