Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subtract
Message
From
08/03/2006 06:11:07
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01101978
Message ID:
01102347
Views:
15
>>Any help with what? You surely know you can't subtract a char field from another? - you'll get oprator/operand mismatch.
>
>No you won't. You'll get the trailing blanks removed from the first string and the two strings will be concatenated.

Yeah, you're right. I was thinking of the given expression:

NOOFTICKET= Sticket- Eticket=60

...which does.
Also, more accuately I meant that subtracting a char val with nos. in it, form another such will not give you an arithmetic result. To tell you the truth, because of the obvious ridiculousness of it, I'd never attempted to do that.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform