Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 03:22:16 +0000



Post From: How to read file with sc.ReadFile()?

[2022-05-23 18:04:02]
Tony - Posts: 459
Thanks so much, User431178!

So, I guess the proper way to remove 'EOF' is this, so it doesn't open/read/close text file twice.


MyInputString.Format(ReadTextFile(sc, "C:\\SierraChart\\Data\\MyData.txt"));

MyInputString.Format(MyInputString.GetSubString(MyInputString.GetLength()-1, 0);

You are right, 320k is way too big, I don't know why I did that. Thanks for pointing out the */& issue.
Date Time Of Last Edit: 2022-05-24 01:16:55