Hi,
Is there any way to define a string with a certain length ? Like in Visual Basic reserved as string * 3 => length = 3
I have big data coming in as Hex String, it woud be much easier to handle with a structure of certain string length.
VISUAL BASIC
Public Type flagstringstruct 'Value Flags zb 08 hex = binary 00001000
reserved As String * 3
valid As String * 1 ' 0 valid, 1 out of range
deleted As String * 1 ' 1 entry deleted
type As String * 3 ' 00(1) = FE, 01(2) = NFE, 10(3) = FEDup, 11(4) = NFE Dup
End Type
Thanks for any help
Marion
Is there any way to define a string with a certain length ? Like in Visual Basic reserved as string * 3 => length = 3
I have big data coming in as Hex String, it woud be much easier to handle with a structure of certain string length.
VISUAL BASIC
Public Type flagstringstruct 'Value Flags zb 08 hex = binary 00001000
reserved As String * 3
valid As String * 1 ' 0 valid, 1 out of range
deleted As String * 1 ' 1 entry deleted
type As String * 3 ' 00(1) = FE, 01(2) = NFE, 10(3) = FEDup, 11(4) = NFE Dup
End Type
Thanks for any help
Marion