comp.lang.ada
 help / color / mirror / Atom feed
* cocor_ada: Sets, FileIO?
@ 2016-07-29 14:40 hreba
  2016-08-02 18:51 ` p.p11
  0 siblings, 1 reply; 7+ messages in thread
From: hreba @ 2016-07-29 14:40 UTC (permalink / raw)


Hi,

I am familiarizing with Coco/R. I installed it (and Florist) and I am 
able to generate a scanner and a parser. They contain the lines
-----------------------------------------------------------------
with  Sets;
with  FileIO;
-----------------------------------------------------------------
Does anybody know were I find these packages?

The scanner package has the line
-----------------------------------------------------------------
  Source   : aliased FileIO.File;  -- source/list files. To be opened by 
the main pgm
-----------------------------------------------------------------
I guess FileIO exports a constructor and I have to do something like
-----------------------------------------------------------------
My_Scanner.Source:= FileIO.New_File ("my_input_file.xyz");
-----------------------------------------------------------------
Correct?

-- 
Frank Hrebabetzky		+49 / 6355 / 989 5070

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-10 16:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-29 14:40 cocor_ada: Sets, FileIO? hreba
2016-08-02 18:51 ` p.p11
2016-08-03  8:28   ` hreba
2016-08-03 17:41     ` p.p11
2016-08-04 12:08       ` hreba
2016-08-10 13:06       ` hreba
2016-08-10 16:58         ` Simon Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox