06-17-2022, 03:03 AM
First thing I'd try is to pass via a temp variable:
SUB CleanPath (tempPath$)
Path$ = tempPath$
The issue is probably from a call such as :
ClearPath temp$
With passing matching types with SUB/FUNCTION, we pass the offsets to the variable and not the value of the variable. If temp$ is passed, Path$ **IS** temp$.
SUB CleanPath (tempPath$)
Path$ = tempPath$
The issue is probably from a call such as :
ClearPath temp$
With passing matching types with SUB/FUNCTION, we pass the offsets to the variable and not the value of the variable. If temp$ is passed, Path$ **IS** temp$.