Just trying to learn some of the tricks
Quote:
Originally posted by kedaman
Code:
Private Property Get systemdir$()
Dim str As String * 256, length&
length = GetSystemDirectory(str, 256&)
systemdir = Left(str, length)
End Property
I'm trying to learn some of this, so be patient. Why the $ in your property "Get systemdir$()"? What does
the "Dim str As String * 256, length&" do? and what is the reasoning for the ampersand after "length&"?
Also, why the ampersand after 256 in the following line -
" length = GetSystemDirectory(str, 256&)" ?
I'm assuming that there is a ")" where the smiley is - maybe
it would be a good idea for us to disable smileys when
posting code ;)
[Edited by dsy5 on 08-09-2000 at 07:44 PM]