how to restart pointer 'line'

Joined
Jul 6, 2010
Messages
1
Reaction score
0
hello

I"m read a text file in VHDL and i want that in the end of the file it will start again.
I tried to save the pointer (line) in other pointer and after the file end to restart the pointer by the other pointer

like that:

b (other pointer) := a (line pointer)
.
.
read the text
.
.
a:= b

unfortunately it isn't work.
i think that it because (like in c++) pointer b is point on pointer a
and when pointer a is change, pointer b change too!

does someone know how to restart the pointer?
how i do that pointer b will point on the data of pointer a and not on him?

thanks
hezi
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top