Hi,

I am trying to figure out how to erase a previous instance of a type 
definition. I am writing a function that can dynamically create a 
return_type based on the variables passed to it. For example:

instance 1
type data_return_type
   spec_name::String
   lambda::Vector(Float32}
   spec::Vector(Float32}
end

instance 2
type data_return_type
   spec_name::String
   lambda::Vector(Float32}
   spec::Vector(Float32}
   continuum::Vector(Float32}
end


The problem I am having is that I get the message:

" Invalid redefinition of constant type data_return_type"

so I would like to erase the previous instance of data_return_type or is 
there a more traditional way to create a structure?



Thank you!

Reply via email to