I have attached a zip archive of a code example where I have created a list where each element is a structure. The structure is meant to be three simple strings.
As per my code I am having trouble reading back the strings with a "showList" proc.
Can anyone tell me what i am doing wrong?
I would also be interested in a comment as to whether the mechanism by which I return the string from my GetArgStr() proc is valid ... does the mechanism return a persistent result that does not go out of scope. I must admit I am struggling at times to understand "scope" in relation to returning values from procedures.
thanks in anticipation
As per my code I am having trouble reading back the strings with a "showList" proc.
Can anyone tell me what i am doing wrong?
I would also be interested in a comment as to whether the mechanism by which I return the string from my GetArgStr() proc is valid ... does the mechanism return a persistent result that does not go out of scope. I must admit I am struggling at times to understand "scope" in relation to returning values from procedures.
thanks in anticipation
Attachments:
list.zip (3 KB)