M
mcescher
Hi All,
I was looking at some code on Dev Ashish's site, and one function was
declared differently than I had seen before.
Function Lpad(MyValue$, MyPadCharacter$, MyPaddedLength%)
<<some vba code here>>
End Function
I understand the code, but I'm wondering about the declaration.
Is "MyValue$" the same as "MyValue AS String"?
Does the % then specify an integer?
Is there a list of other character declarations?
Does that work with a regular dim statement?
i.e. DIM strMyString$, intMyInteger%
Thanks so much,
Chris M.
I was looking at some code on Dev Ashish's site, and one function was
declared differently than I had seen before.
Function Lpad(MyValue$, MyPadCharacter$, MyPaddedLength%)
<<some vba code here>>
End Function
I understand the code, but I'm wondering about the declaration.
Is "MyValue$" the same as "MyValue AS String"?
Does the % then specify an integer?
Is there a list of other character declarations?
Does that work with a regular dim statement?
i.e. DIM strMyString$, intMyInteger%
Thanks so much,
Chris M.