Re: [Harbour] valtype and type

2009-11-23 Thread Przemysław Czerpak
On Mon, 23 Nov 2009, vatzct wrote: Hi, > Valtype and type show differrent result (sample below). Who is wrong > me, valtype or type? VALTYPE() and TYPE() makes two different things so their results cannot be compatible. VALTYPE() returnes type of given item. TYPE() check type of expression passe

[Harbour] valtype and type

2009-11-23 Thread vatzct
Valtype and type show differrent result (sample below). Who is wrong me, valtype or type? FUNCTION main( ) LOCAL str_sep := "()", yy_sep, xx_sep, xy local str_arr:='("ID","C",1,0)("CVAR","C",20,0)("ZVAR","C",100,0)' xx_sep := NumToken( str_arr, str_sep ) for ii := 1 TO xx_sep ss