Page 1 of 1

include / include_once do not support environment variables

Posted: 06 Jun 2021 12:12
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...

Re: include / include_once do not support environment variables

Posted: 08 Jun 2021 08:24
by admin
Fixed in next beta. :tup:

Re: include / include_once do not support environment variables

Posted: 08 Jun 2021 11:57
by highend
Fixed with 21.80.0305