>>I just found out one more way to get into trouble: passing a parameter to DoDefault(), and forgetting that the parameter is an array.
>>
>>
>>lparameters taMyArray, tnPar2, tcPar3
>>DoDefault(taMyArray, tnPar2, tcPar3)
>>* Gives error message: the passed parameter is no longer an array.
>>
>>* Corrected version:
>>lparameters taMyArray, tnPar2, tcPar3
>>DoDefault(@taMyArray, tnPar2, tcPar3)
>>* Gives error message: the passed parameter is no longer an array.
>>
>
>Why corrected version still give the same error?
It won't. I used copy-and-paste, and forgot to take out this part.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)