Thanks Mauro,
alex.readcol() worked !
*julia> **a=alex.readcol(name_of_file)*
the object returned is a 10201.0 x 3 matrix
On Tuesday, January 27, 2015 at 9:19:22 PM UTC+11, alex codoreanu wrote:
>
> Hi guys,
>
> I'm a new user, 1st week :) and I am having trouble properly accessing
> some functions that I built. One of them is akin to IDL's readcol.pro.
>
> My module definition for alex.jl
>
> *module alex*
>
> *include("/Users/alex/CODES/Julia_Custom_jl/alex/src/readcol.jl")*
> *println("alex_module_loaded")*
>
> *end*
>
> After
>
> *julia> **using alex*
>
> alex_module_loaded
>
>
> *julia> **readcol()*
>
> *ERROR: readcol not defined*
>
> the path and include is correct
>
> *julia> *
> *include("/Users/alex/CODES/Julia_Custom_jl/alex/src/readcol.jl")*
>
> *readcol (generic function with 1 method)*
>
> so it looks like it might be a scope issue. I basically want to have
> access to readcol() after loading my custom module.
>
> Thank you.
>