Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding a MOD9 formula
Message
From
05/09/2012 10:47:27
 
 
To
04/09/2012 09:10:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01552174
Message ID:
01552407
Views:
60
Actually I was just trying this code and keep getting "Operator/operand type mistmatch":
proIn = 61227660  &&RLCA

lnDigit = m.proIn - (INT(m.proIn / 9) * 9)
		chkdig = 9 - lnDigit
		
??proIn + chkdig+CHR(13)+CHR(10)
It must have something to do with the proIn field because the chkdig is generated fine by itself.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform