First I add DateAndTime, which ends up under my project (#.Test)
]apm.createproject c:/users/james/desktop/test #.test
Added script "quadVars"
Project test created
Current directory set to c:/users/james/desktop/test/
Install packages using ]APM.AddPackage
]apm.addpackage dateandtime
Packages: +1
+
Resolving: total 1, reused 1, downloaded 0, done
dependencies:
+ dateandtime 1.5.2
]apm.loadproject .
Opening from c:/users/james/desktop/test/
to #.test
Please wait - Reading 1 file from c:/users/james/desktop/test/APLSource/
Opening from c:/users/james/desktop/test/node_modules/.apm.theaplroom.com/dateandtime/1.5.2/node_modules/dateandtime/
to #.__packages.dateandtime_1_5_2
Please wait - Reading 1 file from c:/users/james/desktop/test/node_modules/.apm.theaplroom.com/dateandtime/1.5.2/node_modu
les/dateandtime/APLSource/
#.[Namespace]
test.⎕NL¯9
AcreConfig DateAndTime __apm quadVars
test.DateAndTime.DayOfWeek ⎕ts
Saturday
I then add FilesAndDirs, where DateAndTime is a dependency. As a result, DateAndTime is moved from #.Test, while FilesAndDirs takes its place:
]apm.addpackage filesanddirs
Packages: +2
++
Resolving: total 2, reused 2, downloaded 0, done
dependencies:
+ filesanddirs 1.8.6
]apm.loadproject .
Opening from c:/users/james/desktop/test/
to #.test
Please wait - Reading 1 file from c:/users/james/desktop/test/APLSource/
Opening from c:/users/james/desktop/test/node_modules/.apm.theaplroom.com/filesanddirs/1.8.6/node_modules/filesanddirs/
to #.__packages.filesanddirs_1_8_6
Please wait - Reading 1 file from c:/users/james/desktop/test/node_modules/.apm.theaplroom.com/filesanddirs/1.8.6/node_mod
ules/filesanddirs/APLSource/
Opening from c:/users/james/desktop/test/node_modules/.apm.theaplroom.com/apltreeutils/4.2.4/node_modules/apltreeutils/
to #.__packages.apltreeutils_4_2_4
Please wait - Reading 1 file from c:/users/james/desktop/test/node_modules/.apm.theaplroom.com/apltreeutils/4.2.4/node_mod
ules/apltreeutils/APLSource/
#.[Namespace]
test.⎕NL¯9
AcreConfig FilesAndDirs __apm quadVars
How am I supposed to then call the DayOfWeek method from a project function without calling #.__packages.dateandtime_1_5_2.DateAndTime.DayOfWeek directly? Shouldn't the project have a reference to the DateAndTime package as I included it explicitly?
First I add DateAndTime, which ends up under my project (#.Test)
I then add FilesAndDirs, where DateAndTime is a dependency. As a result, DateAndTime is moved from #.Test, while FilesAndDirs takes its place:
How am I supposed to then call the DayOfWeek method from a project function without calling
#.__packages.dateandtime_1_5_2.DateAndTime.DayOfWeek
directly? Shouldn't the project have a reference to the DateAndTime package as I included it explicitly?