I wonder is any benefit to use object with functions or just standard prg file with function?
for example:
i have 3 functions
a()
b()
c()
I can put this functions in one x.prg file and make
set procedure to x.prg
and then use this functions from application
or
make custom object and put this functions into object. Then
make
oFunc = createobject( "func" )
and then call functions like oFunc.a()
Have any idea about benefits of using object?
Thnks.
for example:
i have 3 functions
a()
b()
c()
I can put this functions in one x.prg file and make
set procedure to x.prg
and then use this functions from application
or
make custom object and put this functions into object. Then
make
oFunc = createobject( "func" )
and then call functions like oFunc.a()
Have any idea about benefits of using object?
Thnks.