Not sure I get the stuff about bb vs bbb but I renamed bbb to lcHtml and (forgot :)!) didn't change the rest. Just another example of testing, testing, testing which I didn't do.
I made the change and tried it again in VFP6 and got 0,0,1801, 1801 with the lchtml changes.