std.textio.all procedure read

Z

Zhane

variable L: Line;
variable Tim: time;
variable Int: integer;
variable cha: character;
variable str : string(1 to 6);

READLINE(F,L);
READ(L, Tim);
READ(L, Int);
READ(L, cha);
READ(L, Str);
READ(L, Int);

for the above code, what will i get if the input file, F has..
100 NS 99 ABCDEF 27

as the input stimuli?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top