Well this one seems the best to me: 
    
    
    import iup, strutils
    discard iup.open(nil,nil)
    var str : string = "../docs/*.txt\0".alignleft(4096, padding=' ')
    echo iup.getFile(str)
    echo str.strip()
    iup.close()
    
    
    Run

Reply via email to