Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's _tally meant ?
Message
From
19/12/2002 07:54:30
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00734433
Message ID:
00734437
Views:
17
>Guys...
>
>I just want to ask several things :
>
>1. different using
> return "" with return(0) and return .f.

Return is used to return data to the calling function/procedure. You can return data of character, numeric, date, datetime, or logical types.

When used with methods, it controls functionality. Let's take Valid(), for example, if you RETURN(.F.) it will not move out of that object & generate a message. If RETURN(0), it will not move out of that object (no message generated). If you return any other number RETURN (N), focus will move to the Nth object in the tab order.


>
>2. What's _tally meant ? what its use for ?

_TALLY can be used to know how many records where just queried, updated, deleted with the SELECT, UPDATE, DELETE commands. Or how many records were replaced or deleted with the (REPLACE ALL FOR x = y) or (DELETE ALL FOR x = y).

There are a lot more uses, this will just give you a start. Hope it helps.



>thanks,
>
>tut_arie
Previous
Reply
Map
View

Click here to load this message in the networking platform