I learned to program in Java, so I carried a lot of OOP habits over from 
that. 

I'm calling run() from a main() function

function main(seed::Int64, sim_time::Int64) 

    srand(seed)


    time_file = Array{Fyle}[]


    println("Initializing Input Files...")

    for t in sim_time

            #Creates the number of files to be added to the file queue.

            #These will then be added to the nodes based on whichever algorithm 
is currently running.

            file_count = round(num_files(t),0)

            fileq = Fyle[]




            #populated each fileq

            for f in 1:file_count


                push!(fileq,Fyle(get_filesize()))


                            end


            push!(time_file, fileq)

   end

...
string declarations...

#Runs simulation   run(lb1, path1, path2, path3, path4, path5, seed, time_file)


Thanks for the help



On Monday, March 2, 2015 at 3:33:21 PM UTC-5, Jay Kickliter wrote:
>
> can you post a little more detail of how you define and call the 
> functions? It will probably easier to troubleshoot that way. 
>
> Posted from my pocket computer

Reply via email to