I have searched all over the internet for a solution to my problem, but I can't find it. How would I go about saving to a file? I managed to get it to carry out a Save As function with this code:
if SaveDialog1.Execute then
Memo1.Lines.SaveToFile(SaveDialog1.FileName);
I want it to carry out a Save function, so that if an existing file is already open, the user can save to that file, without having a specify a name in the Save As Dialog.
For what it's worth, if the game was scheduled for a September release, then most if not all of art assets, etc. were complete. That's the really expensive part of any AAA game.
So going back into the code, game play, combat loop, etc. should be much easier and faster than re-imagining the look of the game entirely. That took years and zillions to create.
Please link any post, where I called someone a snowflake? Just one would be great.
I just like coming to tech sites.....for tech articles. I do not like Trump either and if I wanted to read about him I would go to any of the so called news sites that hate him and cover him 24/7.
It just seems like people on both sides have to constantly inject politics into everything these days.
The Edge browser exists on Xbox Series S/X today, and offers keyboard/mouse support. I would much rather use a phone or computer to browse the web than use my Xbox console. I also can't imagine how awful the Windows/browisng experience on a handheld would be without a BT keyboard. That form factor isn't great for touchscreen keyboard. There is a line between gaming console vs. full on computer experience. Me personally I would have a console for the TV and/or dedicated (gaming) computer.
SteamOS is a disgraceful mess.
It is closed and exclusive to the Valve store.
It has no antivirus or anti-cheat.
It is not compatible with Linux applications, you need to hack the device.
Sony, with its Playstation 5, has the worst operating system for games, very complicated and unstable.
Question
smctainsh
Hi All,
I have searched all over the internet for a solution to my problem, but I can't find it. How would I go about saving to a file? I managed to get it to carry out a Save As function with this code:
I want it to carry out a Save function, so that if an existing file is already open, the user can save to that file, without having a specify a name in the Save As Dialog.
Thanks in advance,
Smctainsh
Link to comment
https://www.neowin.net/forum/topic/453443-delphi-save-to-file/Share on other sites
11 answers to this question
Recommended Posts