I can not find any documentation on this but would like some verification.
This version works
private const A as char=chrw(128)
This version will not compile
private const A as char=chr(128)
I am assuming that chr() function is a vb compatibility function not a true language element so it can not be optimized and used as a constant.
This version works
private const A as char=chrw(128)
This version will not compile
private const A as char=chr(128)
I am assuming that chr() function is a vb compatibility function not a true language element so it can not be optimized and used as a constant.