HISE Logo Forum
    • Categories
    • Register
    • Login

    [Feature Request] Relative includes

    Scheduled Pinned Locked Moved Scripting
    scriptincludefolderrelative path
    1 Posts 1 Posters 56 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey
      last edited by d.healey

      For example if I have included a file {GLOBAL_SCRIPT_FOLDER}myScripts/errorHandler.js and within errorHandler.js I want to include another file that is in the same folder I would like to just be able to use the relative path of the file instead of having to specify the {GLOBAL_SCRIPT_FOLDER} wildcard again - preceded by ./ or ../../ etc to indicate it's relative.

      The reason for this is I might want to share the myScripts folder with another developer, but they want to keep it within the project's scripts folder rather than in the {GLOBAL_SCRIPT_FOLDER}. So they would include the first file without that wildcard.

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 2
      • First post
        Last post

      47

      Online

      1.7k

      Users

      11.7k

      Topics

      101.8k

      Posts