Got it!
The problem arises because thinBasicParseString returns a floating point value (EXT) on the FPU stack. If this is not popped, the acummulation of values messes up the FPU stack registers which are shared by other processes.
PB deals with this transparently but because EXT numbers are not native to FB, a workaround must be provided.
I will explore the cleanest way to do this.
Bookmarks