Thanks for the tip.

Don't you have to do include everytime you change some files?
My codes have not been complicated enough to use modules, but how does that 
help with only a couple files?

On Tuesday, April 5, 2016 at 6:45:00 PM UTC+5:30, Erik Schnetter wrote:
>
> I usually put code into a module, and use `using` to load the module. 
>
> After updating a module, I use `workspace()` to remove all previous 
> definition in the REPL: 
>
> `workspace(); using FunHPC` 
>
> -erik 
>
>
> On Tue, Apr 5, 2016 at 9:13 AM, K leo <cnbi...@gmail.com <javascript:>> 
> wrote: 
> > I have some const defined in various files in the following way: 
> > 
> > [code]const AConst=1[/code] 
> > 
> > Everytime after I modify something in the files (constants remain 
> unchanged) 
> > and include a file on Julia's REPL, I always get a bunch warnings about 
> > redefining constants.  Repeating the process many time can get Julia to 
> have 
> > slow response. 
> > 
> > What can I do to avoid these warnings? 
>
>
>
> -- 
> Erik Schnetter <schn...@gmail.com <javascript:>> 
> http://www.perimeterinstitute.ca/personal/eschnetter/ 
>

Reply via email to