Posts: 1,510
Threads: 53
Joined: Jul 2022
Reputation:
47
You could put your BASIC program and the text file (and others such as images and music) together into a single ZIP file which would then become the attachment to this forum. There's no other good way to combine BASIC code with a text file or with anything else which is not another source code file via "'$INCLUDE".
Where the attachment stuff is placed is the style of the forum, because the user would either have to create a file by dragon drop, or would like to see what he/she had given as attachments in the past. I agree that "Thread Subscription" is worthless for most users and should be allowed hidden, and a few other things below the text entry field so that it's easier to access the attachment stuff without having to scroll down a lot.
Posts: 336
Threads: 24
Joined: Apr 2022
Reputation:
19
I think that I have seen a way to attach binary data to an executable, was it PureBasic?
you could make those text files as data statements and include them or instead of data statements assignments to an array
Posts: 456
Threads: 63
Joined: Apr 2022
Reputation:
10
A bit impractical when the data is the whole of the Collins dictionary, but.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
Posts: 439
Threads: 17
Joined: Apr 2022
Reputation:
21
Could probably do something with the resource file and have it embed that information to be called back later.
Ask me about Windows API and maybe some Linux stuff