
r = VarType ( <varname> )
r = VarType ( <varname\structfield> )
r = VarSize ( <varname> )
r = VarSize ( <varname\structfield> )
VarType() returns #PB_VarType_Byte for bytes, #PB_VarType_Word for words, etc. etc.
VarSize() returns how many bytes the variable or struct field takes up in memory, a string would be 4, a pointer 4, a static array b[100] would return 100
this would make intelligent struct manipulation possible, for example it would become possible to write a routine that copies a struct, as it can detect what type a struct field is, and take appropriate action