How to use enum in MPS?

Hi

I need to give input as "Maths" and for pr0cessing i need to take it as some value like "3"

Maths->3

Science->4

Chemistry->5

Physics->6

0
1 comment

Did you read official user guide?

Please, check it for all basic questions: https://www.jetbrains.com/help/mps/structure.html#conceptmembers

Also, I would recommend you this link: https://www.jetbrains.com/mps/learn/

0

Please sign in to leave a comment.