Hi

I know the io.ops are not finished, but I started looking to them...
and my test parrot program was:

        open P1 "test" "<"
        if P1 LOAD
        print "Error opening the file\n"
        branch CLOSE    

LOAD:   close P1        

CLOSE:  end

Simple, huh? Well.. if the file test does not exists, the message is printed,
and the program exits normally. If the file exists, segmentation fail.

What am I doing wrong in this code?

Thanks

-- 
Alberto Manuel B. Simoes
Departamento de Informática - Universidade do Minho
http://alfarrabio.di.uminho.pt/~albie - http://numexp.sf.net

Reply via email to