Compiler error?

Please report bugs.

Compiler error?

Postby Henning » Sun Jun 17, 2012 12:15 am

As I remember this worked with prev. version.
Now it isn't working with either Val( Integer( or CInt(.
I get a Nullpointer exception on the line Text1.Text = when Run. Buffer[x] is a String Array with hex digits.

Code: Select all
    For x = 0 To LineCount - 1
      BCnt = CInt("0x" & Mid(Buffer[x], 1, 2))
      Addr = CInt("0x" & Mid(Buffer[x], 3, 4))
      RecType = CInt("0x" & Mid(Buffer[x], 7, 2))
      pgmcode = Mid(Buffer[x], 9, Len(Buffer[x]) - 10)
      Text1.Text = "x:" & String(x) & " B:" & String(BCnt) & " A:" & String(Addr)
....
    Next


/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm

Re: Compiler error?

Postby Henning » Mon Jun 18, 2012 12:04 am

........

Alzheimer light... This is why I did strHex2Int Function...

Still would be nice to have.

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron