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 <cnbiz...@gmail.com> 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 <schnet...@gmail.com> http://www.perimeterinstitute.ca/personal/eschnetter/