Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - davidshq

Pages: [1] 2 3 4
1
QB64 Discussion / Re: QuickBasic / PDS / QB64 - Set Working Directory?
« on: September 19, 2020, 01:55:36 pm »
Thanks bplus!

I've learned in PDS one can navigate into the directory one wants to use as the working directory and then execute c:\path\to\pds\bin\qbx.exe and it will then use the direct you launched qbx from as the working directory.

2
QB64 Discussion / QuickBasic / PDS / QB64 - Set Working Directory?
« on: September 19, 2020, 01:05:30 pm »
In PDS I can go to Options --> Set Path and tell PDS where my code files are located. So, for example, I have a structure that looks like this in DOSBox:

C:\bin - Where all the PDS executables are, including QBX.EXE
C:\CWSTRAT - Where all my code files reside

Unfortunately, while setting the path does fix the issue for code files it does nothing for my non-code file includes, e.g. data files and images. PDS continues looking in C:\bin instead of in C:\CWSTRAT for the necessary files.

In QB64 there doesn't appear to be a Set Path option at all.

I'm trying to use PDS to do some step-by-step debugging, wondering if anyone knows if there is a way to set a working directory (or something similar) in PDS so I don't have to mix all my files in with the bin files?

Also out of curiosity, would like to know if there is a way to accomplish the same with QB64?

Thanks,
Dave

3
QB64 Discussion / Re: Curious About Cyberbit
« on: July 13, 2020, 10:20:24 pm »
Thanks for the responses! Glad to hear that cutting it is under consideration.

4
QB64 Discussion / Curious About Cyberbit
« on: July 04, 2020, 10:00:31 pm »
Barely remember how I ended up down this rabbit hole...

Cyberbit is the font packaged with QB64. I was wondering if there was a reason this font was packaged rather than any alternatives?

Seems Cyberbit stopped being updated in 1998 and actually isn't entirely a free license.

Curious if any other fonts have been considered? For example, Google's Nova fonts which are under a standard SIL Open Font License?

Just curious!

Dave

5
Cool, thanks. For fun I'm also checking the commoncrawl.org corpus to see what they have, it dates way back and they have petabytes of content these days.

6
Unfortunately, Fellippe, it looks like you are right. I was able to pull down some stuff from Internet Archive but not much.

One of the more curious things about the [abandoned, outdated and now likely malicious qb64 dot net website - don’t go there] site is that some links seem to work if you are referred by another site. So, if for example, you are referred to a [abandoned, outdated and now likely malicious qb64 dot net website - don’t go there] URL by Google, the page loads. But if you try to reload the same page directly at another time it won't load.

Anyone else able to verify this behavior?

If so, we could probably set our HTTP headers to manually refer to Google so it looks like we are coming from Google when we aren't and be able to crawl the pages...

If this is the case, it seems like perhaps the idea is to continue getting traffic from sites like Google but prevent individuals from actually using the site in any normal fashion.

7
I'd like for Felippe's QB64 interpreter, vWatch, and InForm to all be bundled with QB64 (not the source, just binaries, folks can go grab the source from the repos if desired).

I don't know that any of these need to be part of QB64, but could be nice if one could tick a setting in QB64 IDE that would show/hide these options. Clicking on one would simply launch that application. Not a big change, but nice.

8
I'm giving a Ruby program that allows one to download snapshots from The Wayback Machine a try. Looks like it is going to return almost 11k pages from the forums. Some of this will be from the current site, but most should be from earlier editions of the site.

Is there anything else I should pull down if the forums works out well?

10
Does anyone have a login to [abandoned, outdated and now likely malicious qb64 dot net website - don’t go there] that works for them on the forums? I'd like to scrape the site for all of its forum posts but if I try and login it just kicks me back out to the main [abandoned, outdated and now likely malicious qb64 dot net website - don’t go there] site.

If you do have such a password, aren't reusing it, and are willing to share I've got WinHTTrack all spun up and ready to go.

11
QB64 Discussion / Re: Suggestion: QB64 Wiki on GitHub
« on: June 27, 2020, 08:33:36 pm »
Awesome! Thanks Felippe!

Followup question. If I were to do the work to get QB64's wiki into markdown format (mediawiki does use markdown), would there be interest in using github/markdown or is the preference for the current mediawiki?

I'm just thinking that having QB64's KB on github would probably expand the audience and allow for small contributions.

12
Thanks for the feedback all.

I'm working with an existing code base that uses a mixture of labels, gotos, gosubs, exit subs, etc. I'm slowly refactoring it so that it is more modular and easier for me to understand. So for now, I'll be going with EXIT SUB but may refactor more in the future...and may find some instances in which goto/gosub is still the best option...but I have done a decent amount of OOP, so I have the inclination (whether healthy or otherwise) to lean away from goto/gosub/line labels.

13
QB64 Discussion / Suggestion: QB64 Wiki on GitHub
« on: June 27, 2020, 02:30:39 pm »
I know, I drop in for a little while and then drop out again, and I'm not going to try and pretend that won't happen again...but I still have a suggestion...

Could you guys make a repo on github with the contents of the wiki, perhaps in markdown format that we could then all collaborate on? I'm always thinking, "hey, I should add this to the wiki" but I don't have edit rights and if you added it to githhub you could maintain editorial control while also allowing others to easily contribute. Thoughts?

15
I have some code (simplified) that looks like this:

SUB dosomething
  IF x = 2 THEN
    y = 10
    GOSUB ending
  END IF
  x = 4
ending:
END SUB

Is there any reason not to change this to:

SUB dosomething
  IF x = 2 THEN
    y = 10
    EXIT SUB
  END IF
  x = 4
END SUB

I know in some circumstances GOSUB is used to run some portion of code and then return back to where it was called, but in this case there is no return nor even any other code that could be executed, the sole purpose of the GOSUB/GOTO is to reach END SUB.

Thanks!

Pages: [1] 2 3 4