Jump to content
Forum Roportal
Sign in to follow this  
emmann

intrebare pascal

Rate this topic

Recommended Posts

assign(f,'fisierul.meu'); {unde f e o variabila de tip text}

reset(f); {pentru citire secventiala, pentru rescriere folosesti rewrite}

repeat

readln(f,a,b,c); {variabila fisierului urmata de cate alte variabile vrei tu}

until eof(f); {eof e functia end-of-file, cu parametru numele fisierului}

close(f); {musai daca ai folosit rewrite, altfel nu salveaza}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×