[futurebasic] Musing about _konstants

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2003 : Group Archive : Group : All Groups

From: "Wolf, John" <jwolf@...>
Date: Tue, 18 Nov 2003 11:30:43 -0600
I probably spent 6 hours total banging my head against the wall trying to
figure out why my pbcatsearch routine wasn't working. Finally found out the
constant values weren't right.

Can someone explain to me the out put of this:

print _fsSBFlFndrInfo,_fsSBFlFndrInfo%


The first is 3, the second it 8.

With some quick testing, I've found that if you suffix a constant with the
wrong variable type, you usually get the value 1. However, in this case, you
get other values. (The correct value is 8.)

How do I avoid errors like this in the future?