Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Done Function that returns environment variable type

Aug
1,948
71
TCC has the @IS* and @T* functions for working with environment variables.

It would be welcome to have a single function, for example, @ENVTYPE, that returns the same information that SET /T: uses to declare an environment variable to a specific type. Example;
Code:
SET /T:2 theNumber=19.90

echo %@ENVTYPE[%thenumber]
2

Joe
 

Similar threads

Back
Top