can't find the loop label...

new BookmarkLockedFalling
ezmoney
Junior Member
**

ezmoney Avatar

Posts: 69

Post by ezmoney on Mar 6, 2013 12:33:25 GMT -5


I was parsing some url data..

But the code in prior - versions work...

I was changing the code and all of a sudden it can't cant find the branch label back to the top of the search..

v=0 'i set the pointer to start.. .
[again]
i do the search parsing here...
if instr(url,ドル"http",v) then [exit] ' not found then end search...
... more parsing...

I look for the next find in the url$ data start thru the search again...

goto[again]
[exit]

The return is ..

Runtime Error in program 'untitled': goto[again]Branch label not found: [again]

never seen that every happen before.. I'm stumpped?

I copyed the label into the goto so if there was an unprintable... .

didn't work... same error...

Any ideas? :P



StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

Post by StefanPendl on Mar 6, 2013 16:51:56 GMT -5

Despite the missing space character between the GOTO and the branch, there is nothing that I can tell to be wrong from the posted fragments.

With only these fragments the problem can't be reproduced, so would you mind posting a small example experiencing the problem that we can run too?

BTW, the project folder contains your previous versions, so you can always compare the current code with the previous one using WinMerge, WinDiff or similar.
[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
ezmoney
Junior Member
**

ezmoney Avatar

Posts: 69