>Dragan,
>
>Functions and methods are different constructs and - even if they look alike they should be mixed in no way.
>
>A method call with a return value might look like function call, but I like to give you a most simple difference.
>
>A method is part of a object. An object belongs to a datasesssion, and, for that, to all SET and SYS commands that are special for this datasession. Also the cursors open might differ.
>
>A function, on the other hand always to the datasession you call the function from.
>
>Also, it's the idea of objects that an object carries data (properties) and methods that deal with those data. This concept is weakened over time, but one still should remember it.
>
>
>tl;dr;
>You get a return value from a objects method. Do not mix this wording. Also do not mix the meaning.
You're right, specially that thing about datasessions. Just as I read what you wrote, few old wounds reminded me of their origin...