for "Private" the manual states:
Private makes a variable, function or method only accessible from within the
current source file.
i have found that you can add Private on to the end of methods without causing a compile error.
it doesnt seem to have any affect when i Import the file though. i can still call mytest() from an instance of privtest and if i extend privtest, i can call the method there as well. does anyone know if this is supposed to work or has anyone accomplished type method/function hiding? hiding works fine with stand alone functions and hiding entire types.
Private makes a variable, function or method only accessible from within the
current source file.
i have found that you can add Private on to the end of methods without causing a compile error.
Type privtest Method mytest:Int() Private Return 5 EndMethod EndType
it doesnt seem to have any affect when i Import the file though. i can still call mytest() from an instance of privtest and if i extend privtest, i can call the method there as well. does anyone know if this is supposed to work or has anyone accomplished type method/function hiding? hiding works fine with stand alone functions and hiding entire types.