Forum
    • Categories
    • Register
    • Login

    [Feature Request] Relative includes

    Scheduled Pinned Locked Moved Scripting
    scriptincludefolderrelative path
    2 Posts 1 Posters 207 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.
    • David HealeyD
      David Healey
      last edited by David 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.

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      1 Reply Last reply Reply Quote 2
      • David HealeyD
        David Healey
        last edited by

        Bumpy bump

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

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

        5

        Online

        2.2k

        Users

        13.3k

        Topics

        115.7k

        Posts