load statement failing in v20.60

Things you’d like to miss in the future...
Post Reply
altoclef
Posts: 33
Joined: 12 Oct 2012 18:54

load statement failing in v20.60

Post by altoclef »

Test.xys
load ("Test2");
Test2.xys
msg ("Test2");
Both scripts are in the same folder. In v20.40 it works, in v20.60 I get the error
Script file 'Test2.xys' not found.
load
Test2
Do I need to handle things differently in v20.60 or is this a new bug?

highend
Posts: 13315
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: load statement failing in v20.60

Post by highend »

Loading a Script File

The file name can be specified with full or relative path. In the latter case the script file to load is looked for

(1) in the path of the calling script file (if any)
So I'd call this a bug. Moving it appropriately...
One of my scripts helped you out? Please donate via Paypal

altoclef
Posts: 33
Joined: 12 Oct 2012 18:54

Re: load statement failing in v20.60

Post by altoclef »

If this is a bug, is there any chance of it being fixed in the next release, please?

admin
Site Admin
Posts: 60566
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: load statement failing in v20.60

Post by admin »

Cannot confirm. :? Note that the script location defaults to the scripts path <xyscripts>.

If the above does not help, please explain in more detail what you are doing.

altoclef
Posts: 33
Joined: 12 Oct 2012 18:54

Re: load statement failing in v20.60

Post by altoclef »

Both scripts are in <xyscripts> folder.

v20.60.0300 gave me the error message; I tried rolling back and reinstalling and got the same error.
v20.60.0400 is working fine. :veryconfused:

Thanks for looking into it for me.

Post Reply