Z
Zytan
I am trying to set a const string made up of Chr(), but if the value
passed into Chr() is too large, the compiler complains that it is not
constant!! Example:
Public Const m_Data As String = Chr(&HD) & Chr(&HE) 'ok
Public Const m_Data As String = Chr(&HD0) & Chr(&HE0) 'not ok
But, Char stores 0..255, so it should be ok in both cases. What's
going on?
Zytan
passed into Chr() is too large, the compiler complains that it is not
constant!! Example:
Public Const m_Data As String = Chr(&HD) & Chr(&HE) 'ok
Public Const m_Data As String = Chr(&HD0) & Chr(&HE0) 'not ok
But, Char stores 0..255, so it should be ok in both cases. What's
going on?
Zytan