General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only