If I want to have a variable name that contains multiple numbers but where it is important that the numbers be separated I would usually use underscores (as in C, e.g. p_3_23), dashes or dots (for filenames) but in Mathematica all these symbols are illegal.

What alternatives are there to format variable names containing multiple separate numbers? Somehow downvalues don't seem natural since not al numbers belong to a proper range or interval.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.