Hello,
My question is quite simple, but I don't know if it could be easy to modify in source code.
I tried, but I prefer to ask first...
Is it possible be able to have some special characters to variables?
Currently, I think it is limited to a-z, A-Z, 0-9 and "_".
-> I would like to add several prefix, like $, @, or %. What should I modify in the source code to be able to do that?
Actually, I would like to do this in order to be able to cast the type of variable.
I cannot know the type within the event "ruleContext.Variables.ResolveVariableType".
I would like to add these prefix to be able to make something like this:
Thanks a lot if you have an idea. :)
Best regards!
My question is quite simple, but I don't know if it could be easy to modify in source code.
I tried, but I prefer to ask first...
Is it possible be able to have some special characters to variables?
Currently, I think it is limited to a-z, A-Z, 0-9 and "_".
-> I would like to add several prefix, like $, @, or %. What should I modify in the source code to be able to do that?
Actually, I would like to do this in order to be able to cast the type of variable.
I cannot know the type within the event "ruleContext.Variables.ResolveVariableType".
I would like to add these prefix to be able to make something like this:
- no prefix: double
- $xxx : double[]
-
@xxx : etc.
Thanks a lot if you have an idea. :)
Best regards!