From: Eric Hodel Date: 2006-06-23T02:42:16+09:00 Subject: Re: bug in $. ? On Jun 22, 2006, at 3:47 AM, Pit Capitain wrote: > Wybo Dekker schrieb: >> Sure, but that is part of the bug, in my opinion. After >> DATA.rewind I want to see the first line of the DATA section >> again. If I want to see the program source, I can use $0 > > BTW: you can get to the current file via __FILE__, not $0. There is only one DATA, $0's DATA. There is not a DATA per __FILE__. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com