Hi!

I can assign a char as an ascii-value to a variable.

I can't assign it to a constant:

const FORMAT_DECIMAL = "."

Compiler says error: type mismatch

I can assign it as a constant array:

const FORMAT_DECIMAL[] = "."

Would it be possible to allow the direct assignment to a single constant?

Greets,
Kiste

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/1378643992.1530924.1610526064010%40mail.yahoo.com.

Reply via email to