Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Re: [julia-dev] load and export

49 views
Skip to first unread message

Stefan Karpinski

unread,
Oct 12, 2012, 12:44:35 PM10/12/12
to juli...@googlegroups.com
You may have a mismatch between the version of bigfib.jl that you're looking at and running. I just revamped it yesterday, introducing the test function, which is not run when I load the file. The name BigInt is camelcase not lowercase.

On Fri, Oct 12, 2012 at 12:19 PM, Simon Byrne <simon...@gmail.com> wrote:
I'm trying to get a handle on how the module system works. I've run the following:

julia> load("examples/bigfib.jl")
elapsed time: 6.405483961105347 seconds
The result contains 20898764 decimal digits 

julia> bigint(20)
bigint not defined

My questions are:
1) Why is the function `test` run automatically?
2) How do I now call bigint myself?

thanks,
Simon

--
 
 
 

Reply all
Reply to author
Forward
0 new messages