How does Julia treat an inputless function as compared to a script with the 
same contents?

Normally I create a function by first coding it as a script as it's easier 
to access the variables for testing. Once that is done I do the simple 
conversions to a function. Unfortunately in this case it changed the 
outcome of the code. If I comment out the function line and it's 
corresponding end then the code works as it should. If I put them back in 
it fails.

The script itself sequentially loads files in groups and averages the data 
within before saving the averaged data to a new file.

Julia 0.2.1
Windows 7 64-bit
*Packages Used*

   - DataFrames
   - Datetime (I know, Dates exists but I haven't had time to make the 
   update)


Reply via email to