Done Function that returns environment variable type

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
Thread starter Title Forum Replies Date
C proper function.... Suggestions 6
Charles Dye @IPADDRESSV6 function Suggestions 1
R @BTWN[low number, high number] function Suggestions 0
mfarah Done pdir /(k) for the output of the @CKSUM function. Suggestions 0
E Done Support for IPv6 (ping function) Suggestions 5
Joe Caverly Done ISLIBRARY Conditional Expression Status Test and Function Suggestions 0
A @REALPATH variable function. Suggestions 0
rps Declined @ffind[] function. Suggestions 3
K_Meinhard Done @dowi function Suggestions 2
R (Nearest) Weekday function Suggestions 4
N Done Add display options to new HASH function Suggestions 1
mfarah Done Posix 100.32 compliant %@cksum[] function. Suggestions 12
Joe Caverly Function that converts an expression into a date value Suggestions 0
mikea Done Function to create GUID Suggestions 13
S Declined Character / string classification function Suggestions 9
S Done Enhanced ALIAS, SET, ESET and FUNCTION commands Suggestions 0
M Done Enhancement to @PID function... Suggestions 4
M Declined Function to to verify file name validity... Suggestions 4
S Done Enhanced FUNCTION and ALIAS definition syntax Suggestions 0
S Done Window positioning commands and current position function Suggestions 0
S Declined Indirect function specification Suggestions 2
S Done Command and help enhancement, esp. ALIAS, FUNCTION and SET Suggestions 2
Charles Dye Done @PLUGINVER function Suggestions 0
Charles Dye Done v11 idea - Date picker function Suggestions 3
vefatica Declined Allow (require?) "0x" in environment variable type 3 (hex) Suggestions 6
D Done SHORTCUT command should accept unexpanded environment variables. Suggestions 0
D Done Add the ability to control syntax coloring via an environment variable or some other way Suggestions 3
rconn Support XML environment variables Suggestions 0
rconn Declined Support JSON environment variables Suggestions 1
vefatica Declined Loop on environment variable names? Suggestions 33
S Declined MEMORY and environment Suggestions 3

Similar threads