Page 1 of 1
sQLux run external file
Posted: Tue Oct 25, 2022 11:32 am
by Derek_Stewart
Hi,
I am want to load an SuperBasic file created in a Linux editor or IDE, stored in a Linux directory.
The documentation on GIthub in sqlux.md says use the -b option, but the -b option is not present in the current version of sQLUX v1.0.5-101-8844d471-(2022-10-22)
I thought maybe define a Device and Boot Device in the sQLux command line and load the SuperBasic file from the Boot_Device. But boot file must be be called BOOT...
But does not seem to work.
Re: sQLux run external file
Posted: Tue Oct 25, 2022 5:28 pm
by XorA
Derek_Stewart wrote:Hi,
I am want to load an SuperBasic file created in a Linux editor or IDE, stored in a Linux directory.
The documentation on GIthub in sqlux.md says use the -b option, but the -b option is not present in the current version of sQLUX v1.0.5-101-8844d471-(2022-10-22)
I thought maybe define a Device and Boot Device in the sQLux command line and load the SuperBasic file from the Boot_Device. But boot file must be be called BOOT...
But does not seem to work.
looks like i forgot that one, im on hols so it wont get fxed this week.
Re: sQLux run external file
Posted: Wed Oct 26, 2022 11:00 am
by Derek_Stewart
XorA wrote:Derek_Stewart wrote:Hi,
I am want to load an SuperBasic file created in a Linux editor or IDE, stored in a Linux directory.
The documentation on GIthub in sqlux.md says use the -b option, but the -b option is not present in the current version of sQLUX v1.0.5-101-8844d471-(2022-10-22)
I thought maybe define a Device and Boot Device in the sQLux command line and load the SuperBasic file from the Boot_Device. But boot file must be be called BOOT...
But does not seem to work.
looks like i forgot that one, im on hols so it wont get fxed this week.
Okay, no worries, I wil do all my programming within sQLux, on QD.
Re: sQLux run external file
Posted: Wed Nov 16, 2022 10:06 pm
by XorA
Derek_Stewart wrote: ↑Wed Oct 26, 2022 11:00 am
XorA wrote:Derek_Stewart wrote:Hi,
I am want to load an SuperBasic file created in a Linux editor or IDE, stored in a Linux directory.
The documentation on GIthub in sqlux.md says use the -b option, but the -b option is not present in the current version of sQLUX v1.0.5-101-8844d471-(2022-10-22)
I thought maybe define a Device and Boot Device in the sQLux command line and load the SuperBasic file from the Boot_Device. But boot file must be be called BOOT...
But does not seem to work.
looks like i forgot that one, im on hols so it wont get fxed this week.
Okay, no worries, I wil do all my programming within sQLux, on QD.
-b option has been restored!
Re: sQLux run external file
Posted: Thu Nov 17, 2022 9:11 pm
by Derek_Stewart
XorA wrote: ↑Wed Nov 16, 2022 10:06 pm
Derek_Stewart wrote: ↑Wed Oct 26, 2022 11:00 am
XorA wrote:
looks like i forgot that one, im on hols so it wont get fxed this week.
Okay, no worries, I wil do all my programming within sQLux, on QD.
-b option has been restored!
Thanks,
I will updated my sQLux git and compile, using the new compile options and did this test:
- sQLux running from command line
Using the command line to define the SuperBasic command and size of Window, also using defaults in the sqlux.ini file:
Code: Select all
sqlux -g 512x256 -b 'print "Hello World"\\:for a=32 to 255: print chr$(a);: end for a'
I was going to write a script/macro to use an IDE to write the Superbasic file and run the file in sQLux, maybe VS Code or just VIM maybe an idea.