Skip to content

[BUG] #Include folders parse #33

@CoffeeChaton

Description

@CoffeeChaton

Directory: Specify a directory instead of a file to change the working directory used by all subsequent occurrences of #Include and FileInstall. (ahk-v1-doc)

;file a.ahk
MsgBox, % "case A"

#Include %A_Desktop%\
#Include d.ahk ; C:\Users\antec1110523\Desktop\d.ahk
#Include e.ahk ; C:\Users\antec1110523\Desktop\e.ahk

;file b.ahk
MsgBox, % "case B"

#Include d.ahk ; %A_LineFile%\..\d.ahk
#Include e.ahk ; %A_LineFile%\..\e.ahk
;file c.ahk
MsgBox, % "case C"

#Include %A_LineFile%\..\d.ahk
#Include %A_LineFile%\..\e.ahk

#Include %A_Desktop%\ ;folder
#Include f.ahk ; %A_Desktop%\f.ahk
#Include g.ahk ; %A_Desktop%\g.ahk

I took some notes to understand the meaning of doc in code

Originally posted by @CoffeeChaton in #30 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions