QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: rcamp48 on May 03, 2020, 05:43:21 pm
-
Hi Guys:
I am in need of a simple text editor to run within a QB64 program that will read In a text.cfg file, or any other file as a text file, allow you to edit that file and write it back out in the same format. I am writing a program for editing Config and Batch files for Bulletin Board Online Games, and need it to be integrated into my program. I have the program written, but I am waiting to get something that will do this, a basic menu driven text editor would do. Russ
-
Here's one:
https://www.qb64.org/forum/index.php?topic=1642.msg108603#msg108603
-
Other simple way (under windows):
fic$ = "C:\temp\my file in texte.mode.cfg"
app$ = "wordpad"
SHELL app$ + " " + CHR$(34) + fic$ + CHR$(34)
input k$
continuation of the program here
-
Other simple way (under windows):
fic$ = "C:\temp\my file in texte.mode.cfg"
app$ = "wordpad"
SHELL app$ + " " + CHR$(34) + fic$ + CHR$(34)
input k$
continuation of the program here
+1 Yeah I have this line for my Help file for a Gin Rummy Game I am working on:
I can read and edit the file as I develop the game, it's like having 2 windows open.
Also there is _CLIPBOARD to Copy/Paste between files.