MikeBaas Feb 62 1 Mar 16, 2020 #1 I'm in a situation where I'd like to do: goto %label and %label is user-input. So it could not exist. Is there a way to validate %label and make sure it is valid? Or should I just catch the error?
I'm in a situation where I'd like to do: goto %label and %label is user-input. So it could not exist. Is there a way to validate %label and make sure it is valid? Or should I just catch the error?
vefatica May 12,934 171 Mar 16, 2020 #2 You could probably make this more robust. The file in question has the label (actually a subroutine) Code: :makevbs [file] Code: v:\> ffind /q /t":fakevbs" sv.btm & echo %_? 2 v:\> ffind /q /t":makevbs" sv.btm & echo %_? 0
You could probably make this more robust. The file in question has the label (actually a subroutine) Code: :makevbs [file] Code: v:\> ffind /q /t":fakevbs" sv.btm & echo %_? 2 v:\> ffind /q /t":makevbs" sv.btm & echo %_? 0