04-13-2025, 07:16 AM
(04-13-2025, 02:41 AM)CMR Wrote: Definitely neat. Did you use the editor to paste the character in? Would using the CHR$(26) at the end of the data statements work? The CHR$(26) doesn't even show up as anything readable in most of my text editors.
The QB64 IDE has a couple ways to type the character into your program. You can use ALT+026 to type it into the IDE. (Hold ALT, hit 0 then 2 then 6) Or you can go to the menu for TOOLS and use the ASCII CHART to insert the character directly into your program.
For most other IDEs, you'll probably need to code that a little differently to create the file properly.
Code: (Select All)
If InStr(dta$, "555") Then
Print #1, CHR$(26);
Else
Print #1, ",";
End IfSwap out this line:
If InStr(dta$, "") Then _Continue Else Print #1, ",";
With the above ^:
And you should be good to go in any IDE. I just shortcut the typing as I'm familiar with the QB64PE IDE and tend to use it almost exclusively for most of my stuff.

