Newbie Delphi File Question

in VB there are two ways to write a file (more but Im conserned in two)
Open FILE For Append as #1 >> Dont overwrite file
Open FIle For Output as #1 >> Overwrite file
how to write each in delphi?

also, there are Print and Write
I use Write for alot, when I input the info, its in arrays

Open FILE For Append as #1
'LOOP COMMAND
Write #1, bla(x), blo(x)
'LOOP COMMAND
CLOSE #1

anyway, how to do that in delphi?

and just a very quick question
what is
Form1.Hide
Form1.Show
instant_newAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

LRHGuyCommented:
var F:textfile;

Assign(F,'filename');

// select one of these...
//reset(F);  //open file to replace
//append(F); //open file to append

repeat
writeln(F,bla(x),blo(x));
until done;

close(F);

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LRHGuyCommented:
form1.hide    // Hides the form referenced by form1
form1.show  // Shows the form
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.