Still fighting with the arithmetic/casts problem I posted about on the another thread, things are just getting stranger. I've been using only rapid debug, I changed to legacy to see if any difference is made, and I get a compile error that I don't get in rapid debug:
Error description: Cannot cast: {Type=Char,Rank=0, RemoteObject=True} to number.
Sub AdvanceOutBuf (indx1 As Char)
Do While indx1 > 0 'the error is with this line
GetNextByte
indx1 = indx1 - 1
Loop
End Sub
Is this expected? I am not sure what's wrong with my function, will try rewrite it.