ASP Classic Parameters (ByRef, ByVal)
By Reference or Value For parameters, you can optionally specify ByVal or ByRef . ByRef is the default if you don't specify.
Function SomeRoutine(ByRef pPerson, ByVal pName, Age)
0 Comments.
Share a thought or comment...
Code Contributed By Mike Prestwood:
Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions . Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains play-drums.com and has authored 3 drum books . If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.
The following are practice certification questions with answers highlighted. These questions were prepared by Mike Prestwood and are intended to stress an important aspect of this KB post. All our practice questions are intended to prepare you generally for passing any certification test as well as prepare you for professional work.
Intermediate
1 Intermediate Level Question
Question #1: True or False?
The default for parameters for subroutines and functions is by value.
Answer:
KB Article #101625 Counter
13162
Since 11/15/2008