include / include_once do not support environment variables

Things you’d like to miss in the future...
Post Reply
highend
Posts: 13274
Joined: 06 Feb 2011 00:33

include / include_once do not support environment variables

Post by highend »

The docs state:
However, XYplorer variables and environment variables are supported.

Code: Select all

    include_once "D:\Users\%USERNAME%\Development\XYplorer\@functions\Regex.xyi";
    text self("script");
---------------------------
XYplorer - Scripting
---------------------------
Include file not found:

Line: include_once "D:\Users\%USERNAME%\Development\XYplorer\@functions\Regex.xyi";
But

Code: Select all

    include_once "D:\Users\_my user name_\Development\XYplorer\@functions\Regex.xyi";
    text self("script");
works as expected...
One of my scripts helped you out? Please donate via Paypal

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

Re: include / include_once do not support environment variables

Post by admin »

Fixed in next beta. :tup:

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: include / include_once do not support environment variables

Post by highend »

Fixed with 21.80.0305
One of my scripts helped you out? Please donate via Paypal

Post Reply