Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 26-01-2024, 06:17
Tihiy_Don Tihiy_Don is offline
Registered User
 
Join Date: Mar 2023
Location: Los Angeles Lakers
Posts: 43
Thanks: 91
Thanked 26 Times in 18 Posts
Tihiy_Don is on a distinguished road
I have the following code that cuts the text I don't need from the amount of RAM in the system.

Quote:
function GetRamMemory: Integer;
var i: Integer;
s: String;
begin
s:=MbOrTb(RamInfo.TotalRam, 0);
for i:=length(s) downto 1 do
if not (s[i] in ['0','1','2','3','4','5','6','7','8','9']) then delete(s,i,1);

Result:=StrToInt(s);
end;

Is there a way around this by using some parameter in the FMX library to immediately remove the text from the RAM line in RamInfo.TotalRam?

Last edited by Tihiy_Don; 27-01-2024 at 05:05.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FMXInno - Windows Fluent Design Installer UI for Inno BLACKFIRE69 Conversion Tutorials 626 08-04-2026 12:33
Alone In The Dark (2008) - NO DISCUSSION OF CRACKS!!! TippeX PC Games 73 10-09-2008 11:43
I found discussion board for sex story and sex movie! newcomer1 Chit Chat 1 26-02-2005 08:40
WH40K: Dawn of war (General Discussion) Playbahnosh General Gaming 19 18-10-2004 05:12
A New Discussion about DVD-Writers (DVD Burners) MissFacetious CD/DVD-Writers 1 30-07-2002 02:08



All times are GMT -7. The time now is 03:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com