Your full service technology partner! 
-Collapse +Expand
To/From Code
-Collapse +Expand Cross Ref Guide
-Collapse +Expand Members-Only
Sign in to see member-only pages.
   ► KBTo/From GuidesCorel Paradox    Print This   

Parameters (Corel Paradox and Access VBA Cross Reference Guide)

By Mike Prestwood

Corel Paradox versus Access VBA: A side by side comparison between Corel Paradox and Access VBA.

Language Details

Language Details is kind of a catch all for stuff that didn't make it into language basics nor any other category.


[Other Languages] 
Corel Paradox:   var, const

By Reference or Value (and by constant)
The default for parameters is by value. For by reference, add var in front of the parameter. ObjectPAL also offers constant parameters where you add const in front of the parameter. A constant parameter is like a read-only parameter the compiler can optimize. You cannot assign a value to a constant parameter.

Syntax Example:  
method cmCode(s String) ;...s is by value.
method pushButton(var eventInfo Event)
  ;...eventInfo is by reference.
method cmCode(Const s String)
  ;...s is a constant read-only parameter.
proc cpNever() String
  return "Never duplicate a line of code!"

Access VBA:   ByRef, ByVal

By Reference or Value
For parameters, you can optionally specify ByVal or ByRef. ByRef is the default if you don't specify.

Syntax Example:  
Function SomeRoutine(ByRef pPerson, ByVal pName, Age)

   Share This Page!
Share on...
   Contact Us!
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675


   Follow Us!
Connect With Us...
Like our page!!!
Follow us!
Join Group
View channel.
Go ahead!   Use Us! Call: 916-726-5675 

©1995-2016 Prestwood IT Solutions.   [Security & Privacy]