MikeBaas Feb 65 1 2020-03-16 #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 13,834 211 2020-03-16 #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