Austin,
I'm guessing that you are wondering what happens to your code if you use Val() today and then the VarType changes when you go with 4.20.
The easiest way to answer that is to try it out yourself. You should never just take someone's word for it. Better to understand the code.
Cobble together something like the following and test it on the different versions of KiX.
code:
Break on
@KiX ?
;VarType returns:
; 3 Long Integer
; 8 String
$VarType = VarType(@ProductSuite)
Select
Case $VarType = 3
'VarType = '+$VarType+' Long Integer' ?
Case $VarType = 8
'VarType = '+$VarType+' String' ?
Case 1
'VarType = '+$VarType+' None of the above' ?
EndSelect
$ValVarType = VarType(Val(@ProductSuite))
Select
Case $ValVarType = 3
'ValVarType = '+$ValVarType+' Long Integer' ?
Case $ValVarType = 8
'ValVarType = '+$ValVarType+' String' ?
Case 1
'ValVarType = '+$ValVarType+' None of the above' ?
EndSelect
Get $
[ 14. February 2003, 18:25: Message edited by: LLigetfa ]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.