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 - Timbergetter

Pages: [1]
1
QB64 Discussion / Programming with Project Directories
« on: October 19, 2020, 06:21:37 pm »
I am keen to set up my QB64 programming environment in a similar way to what I once had in QB4.5.  This involved having separate directories for each basic program project.  To test this I have placed the QB64 directory name in the path statement for the Windows 7 environment system variable list.  I have also checked the QB64 option box to save exe files to the source directories.  I then change to the program directory I wish to address and then execute the QB64.exe from the command line.  This seems to work fine for trivial “hello world” programs.  The only aberration I’ve observed so far is when compiling and running code before that source code has been saved.  In that case it seems that the untitled.exe file is saved to the QB64 directory,  and the _CWD$ statement returns the QB64 directory rather than the actual current working directory.  Once the source file has been updated and saved things seem to work as intended.

What I would like to know is whether my proposed setting up is valid in QB64.  Are there any resources in the QB64 directories that may not be found during compilation by virtue of the PATH setting? 

2
QB64 Discussion / Re: SHELL observation
« on: October 10, 2020, 10:25:25 pm »
Thank you Pete, that’s great feedback.  I see now the added flexibility of the console commands.  So am I right in thinking that shelling to an internal dos command (dir) activates the console but then issues a  _CONSOLE OFF by default?  Whereas shelling to a dos batch command activates the console and leaves  _CONSOLE ON by default.

3
QB64 Discussion / SHELL observation
« on: October 10, 2020, 06:49:25 pm »
If I run the following 5 commands I get a directory list on the output screen as expected:
Code: QB64: [Select]
  1.    OPEN "runme.bat" FOR OUTPUT AS #1
  2.    PRINT #1, "dir"
  3.    PRINT #1, "pause"
  4.    CLOSE
  5.    SHELL "runme"

However if I run:

Code: QB64: [Select]
  1.    SHELL “dir”

by itself I see the directory listing for a few milliseconds and then a blank output screen.

In QuickBasic 4.5 the SHELL “dir” command does produce a directory listing to the output screen and it remains there.

I am keen to know how to interpret what I am seeing here.

4
QB64 Discussion / Re: QuickBasic and FullScreen
« on: October 03, 2020, 06:13:13 am »
Update:
DOSBox seems to do everything l am needing with fullscreen.  Many thanks for the pointer Pete.
DOSBox appears to be a better solution than doing it in Player.  I should now be able to toggle between QuickBasic and the VM containing QB64.

5
QB64 Discussion / Re: QuickBasic and FullScreen
« on: October 03, 2020, 05:00:35 am »
No Pete, I  haven’t.  I’ve never used DOSBox but I’ll certainly give it a try if you think it has prospect.

6
QB64 Discussion / QuickBasic and FullScreen
« on: October 03, 2020, 12:52:02 am »
I was doing quite a bit of QuickBasic programming during the 1990s but this all faded away when computers moved to 64 bit processing and programs moved to GUI.  I have just now discovered the QB64 world and have a sudden desire to resurrect some of my old programs.  The programs are multi file packages and use libraries that I had developed so I am thinking that I will need to spend some time within QuickBasic re-acquainting myself with how the programs worked and doing some massaging to get the code ready for a port to QB64.  I would really like to do this preparatory work with QuickBasic in a full screen mode.  I thought I used to do this with Windows 98, but my attempts now to do this with Windows 98 SE as a VM in Vmware Player have not yet resulted in a full screen mode.  I am hoping that someone might be able to offer advice on how to get QuickBasic IDE running fullscreen on a Player guest OS of some description.  My host OS is Ubuntu 20.04.

Pages: [1]