Jump to content

Variable constant help.


Chris92

Recommended Posts

Doesn't that deviate from the definition of constant? Change it's value by al means, create a switch/on/off gismo that's alright, but dynamically altering it's name, I would love to see the context of it application.

 

Rw

 

It seems like he has a series of constants defined and wants to dynamically choose which one to use based on an external variable.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.