On 2017-10-31 16:36, Dr. Assembly wrote:

thanks. I just find it werid, maybe because I came from C/C++ background, where it means only integer types. So enum s = "foo"; is really werid. But I'll get used to it.

Think of it more like #define in C/C++ than "const". The above defines a manifest constant that are only available at compile time, i.e. you cannot take the address of a manifest constant.

--
/Jacob Carlborg

Reply via email to