Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Excel / March 2005



Tip: Looking for answers? Try searching our database.

Proper Coding Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frank McLellan - 30 Mar 2005 03:11 GMT
G'day
When calling a procedure from within another procedure is it proper form to
use "Call" with the procedure name or just specify the procedure?? Or is it
just personal preference??
E.g.
Sub MyCode()

More Code

Call mySubCode or should this be simply mySubCode

End Sub
JE McGimpsey - 30 Mar 2005 06:00 GMT
> G'day
> When calling a procedure from within another procedure is it proper form to
[quoted text clipped - 8 lines]
> >
> End Sub

Either is "proper". Which you use is largely a matter of personal
preference. Note that the syntax is different if you have arguments
(Call requires that arguments be contained within parens) and that Call
discards any return values.

Most programmers that I know don't use Call.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.