I’m wondering if it is somehow possible to create a Constant value with a chr value?
e.g. Some property Chr0 as String where Chr0 has as value Chr(0)?
I’m asking because I run in a big loop a check like this:
for i = 0 to 1000000
...
if Let = chr(0) then
...
end if
...
next
Just doing this has no real speed advantage:
Dim Chr0 as String = Chr(0)
for i = 0 to 1000000
...
if Let = chr0 then
...
end if
...
next
And I’m wondering if it was defined as a Constant, it may improve speed (or not)