【发布时间】:2017-05-08 09:40:00
【问题描述】:
据我从文档和网络上的几篇帖子中了解到,声明
include("myfile.jl")
只需将 myfile.jl 中的代码粘贴到调用文件(或控制台中),用包含语句替换该行。
如果我错了,请纠正我。我只是从朱莉娅开始。但是,我也看到了 Julia 的一位创作者的以下评论:
"include works in the dynamically-current module, not the lexically-current one.
It is really a load-time function, not a run-time one."
动态电流和词法电流有什么区别?
【问题讨论】:
标签: julia