On Dec 16, 2014, at 2:25 PM, J. Landman Gay wrote:

> On 12/16/2014, 12:18 PM, Mike Bonner wrote:
>> IF I can dig up how
>> the engine tracks the version for stacks, i'll letcha know.
> 
> I'm pretty sure it must be reading the first few bytes of the file, like 
> Klaus said. As far as I know, that's the only place the info is stored.

so,
put char 1 to 8 of url ("file:" & the effective filename of this stack)
seems to do the trick.

-- Peter

Peter M. Brigham
[email protected]
http://home.comcast.net/~pmbr

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to