February 2nd, 2000, 10:16 AM
Hi.
I have a routine that has the following declaration:
Private Function ParseRec(szStr As String,
szKey As String,
szValue As String)
Within this function, I am modifying the values of szKey and
szValue by parsing the string szStr.
I am using the above function as follows:
ParseRec(szSearch, rcRec.Key, rcRec.Value)
where rcRec is a record with Key and Value fields, both public, of type
String.
I am doing a trace of this within the function ParseRec, and
see that both Key and Value are being updated, but outside the
function, the rcRec.Key and rcRec.Value fields do not get
updated. What am I doing wrong ?
Any information will be greatly appreciated.
Thank you.
Raja
I have a routine that has the following declaration:
Private Function ParseRec(szStr As String,
szKey As String,
szValue As String)
Within this function, I am modifying the values of szKey and
szValue by parsing the string szStr.
I am using the above function as follows:
ParseRec(szSearch, rcRec.Key, rcRec.Value)
where rcRec is a record with Key and Value fields, both public, of type
String.
I am doing a trace of this within the function ParseRec, and
see that both Key and Value are being updated, but outside the
function, the rcRec.Key and rcRec.Value fields do not get
updated. What am I doing wrong ?
Any information will be greatly appreciated.
Thank you.
Raja