Didn't know 4test had a private keywork, thanks for pointing this out. From the help I grabbed this...
"Scope applies to the declarations of constants, variables, data types, functions, windows, and window classes."
I gather from this sentence that "private" cannot be used on a method or data declaration WITHIN a class as you are attempting, but only on the class declare itself, as well as variables, data types etc.
If anyone else knows for sure, please share.
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>It doesn't matter if I go to heaven or to hell, I have friends in both places.<HR></BLOCKQUOTE>
is a function, not a variable. I don't know the reason for not allowing variables to be declared as private, but that seems to be the way it is. You can declare functions with a private scope without any problems.
Making function private inside of the class, basically do nothing, you can still access them from the outside of the class (from the testcase).
private builtin LIST OF WININFO GetWinInfoList()
the keyword is 'builtin'. This means that called method is part of Segue's executables.
First I thought it was 'private' so put it as not a good example.
So the question remains: How to use variable inside of the class but restrict direct access from the testcase?