We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LDController
#12
Thanks for responding.  This error is now resolved.

Unfortunately, I don't know what fixed the problem...

The SB installation is not on C drive,   so that's not an issue.
I always save my code to a relevant folder before compiling,  so that's not an issue.

Every SB program I have with file.writeline  was exhibiting the same issue.  Some of these are 2 or 3 years old...  made me assume it was a Windows issue.

1. Tried clearing Windows\Temp...  - reboot -  not fixed.

2. Tried uninstalling and reinstalling SB...  - reboot -   not fixed.

3. Tried to find any temp files that SB might have left around _anywhere_...  and deleting them... not fixed.

Gave up and took the grandkids for a bike ride.   Came back and tried my test program,  and lo and behold its fixed !!

I have no idea what broke,  or what fixed it.

Here's the Test code I was using...

Code:
GraphicsWindow.Show()

GraphicsWindow.Title = "About to write line..."
File.WriteLine("E:\SmallBasic\Controller\TestWrite.txt", 1, "Line Written")
GraphicsWindow.Title = "Line written"


While ("True")
 
EndWhile
Reply


Messages In This Thread
LDController - by GBHalford - 10-01-2024, 05:35 AM
RE: LDController - by AbsoluteBeginner - 10-01-2024, 07:06 AM
RE: LDController - by litdev - 10-01-2024, 07:48 AM
RE: LDController - by GBHalford - 10-01-2024, 09:38 AM
RE: LDController - by litdev - 10-01-2024, 09:47 AM
RE: LDController - by GBHalford - 10-01-2024, 10:14 AM
RE: LDController - by litdev - 10-01-2024, 10:33 AM
RE: LDController - by z-s - 10-01-2024, 01:05 PM
RE: LDController - by GBHalford - 10-02-2024, 03:36 AM
RE: LDController - by z-s - 10-02-2024, 05:18 AM
RE: LDController - by litdev - 10-02-2024, 05:33 AM
RE: LDController - by GBHalford - 10-02-2024, 06:10 AM
RE: LDController - by z-s - 10-02-2024, 08:57 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)