Hi

I've been reading "Palm Programming: The Developer's Guide" and its code examples seem 
to use few function parameters with direct Object References written within functions. 
(First of all, let me say that I could possibly be wrong in regard to the level of 
reasonably avoidable literal reference to objects or to the extent that the example 
code makes literal object references.)

An easy example for me to give at present is in references for a Visual Basic form and 
its controls. In a code module I could say

sub ClearForm()
me.cls
end sub

or

sub ClearForm(frmName)
frmName.cls
end sub

Really my question doesn't have so much to do with reference to the form itself 
(because there is a Palm OS function to get the active form), instead its the 
references to objects on the form.

Is the method of literal references within functions considered appropriate for 
working with the form and API model or is there another way to make functions more 
easily reusable?

Have a nice day
John Paul Fullerton
[EMAIL PROTECTED] 


Reply via email to