Posts: 1,581
Threads: 59
Joined: Jul 2022
Reputation:
52
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: 422
Threads: 27
Joined: Apr 2022
Reputation:
26
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: 653
Threads: 96
Joined: Apr 2022
Reputation:
22
A bit impractical when the data is the whole of the Collins dictionary, but.
Posts: 730
Threads: 30
Joined: Apr 2022
Reputation:
43
Could probably do something with the resource file and have it embed that information to be called back later.
Tread on those who tread on you