gglaz Member Licensed User Longtime User Sep 3, 2015 #1 Hello, I tried this code but for some reason it does not work, it says syntax error: Code: Copy Dim myBytes() As Byte = { 0x26, 0xdc, 0x00 } Then I tried it with different notation Code: Copy Dim myBytes() As Byte = { &H26, &Hdc, &H0 } But no succes. How can I do something like that in B4A?
Hello, I tried this code but for some reason it does not work, it says syntax error: Code: Copy Dim myBytes() As Byte = { 0x26, 0xdc, 0x00 } Then I tried it with different notation Code: Copy Dim myBytes() As Byte = { &H26, &Hdc, &H0 } But no succes. How can I do something like that in B4A?
S sorex Expert Licensed User Longtime User Sep 3, 2015 #2 try Code: Copy Dim myBytes() As Byte = array as byte ( 0x26, 0xdc, 0x00 ) Upvote 0