I've discovered a problem with the Parse$ function. It correctly reports the parsecount on some strings but doesn't report the correct value on the Parse$ data when a double quote is within a parse delimited field.
Thanks,
Donnie
Code:
#COMPILE EXE DEFLNG A-Z FUNCTION PBMAIN () AS LONG 'input string below '123,"9" PAN",2.99 x$ = "123,""9"" PAN"",2.99" PRINT PARSECOUNT(x$) 'returns 3 PRINT PARSE$(x$,1) 'returns 123 PRINT PARSE$(x$,2) 'returns 9 but should return 9" PAN PRINT PARSE$(x$,3) 'returns 2.99 WAITKEY$ END FUNCTION
Donnie
Comment