875 questions
-3 votes
0 answers
37 views
When using docker node:alpine build node_modules installs in /usr/local/lib
Why was /usr/local/lib the defaut local packages destination directory in NodeJS docker image ? FROM node:24-alpine WORKDIR app/ COPY package.json yarn.lock ./ RUN corepack enable \ && ...
1 vote
1 answer
52 views
SELECT from two different .MST files to produce a combined result
I'm trying to answer an exercise question for Universe BASIC programming as follows: List the CLASS.NAME of students whose age are more than 21. Expected working is to be in the form of a TCL command ...
1 vote
2 answers
77 views
TI-84 BASIC: Nested For Loops via matrix iteration
I am new to TI-84 BASIC programming and having a devil of a time at it. Right now I am trying to write a function that will sum a matrix but my for loops only run once. I do see in the manual that ...
1 vote
0 answers
36 views
Libre Calc Cell format (Formula to Value Back to Formula)
Context: After years of Microsoft/Excel/VBA, I have switched to Linux/Libre Calc/Basic, still learning the syntax. This project is a "Proof of Concept" to learn via designing a Slot/Pokie ...
0 votes
1 answer
117 views
Redraw images in Libre Office Calc via basic macro
I want to write a macro which reloads all images inserted in a Calc document. I've heard of linking images, but I don't know the specific commands in LibreOffice Basic. So far the best answer I've got ...
2 votes
2 answers
83 views
Why is my file deleting itself when I open it?
I’m currently learning BASIC (I use FreeBASIC) and I’m trying to open files. However, instead of opening files, my program deletes them. This is my code: Dim f as Integer f = FreeFile Open "...
4 votes
2 answers
82 views
Two zero bytes instead of three to signal End-of-BASIC?
Jim Butterfield's "Machine Language for Commodore Machines" book states at page 92 in the chapter on BASIC Memory Layout that (emphasis mine): End-of-BASIC is signaled by three zero bytes ...
0 votes
0 answers
307 views
I can't use my resources in Visual Studio 2022 (vb.net)
I use Visual Studio 2022 and Visual Basic. Not a pro but amateur programmer. I am trying to add images to my project as a resource. Everything goes well and they seem to be included in my solution. ...
2 votes
0 answers
75 views
QB64 order of includes for SUBs/FUNCTIONs and TYPEs
I'm trying to make a simple BASIC game in QB64. I'm used to programming C# and am not sure how I should kinda make 'objects' (as far as possible) in BASIC with QB64 and use them by including them ...
1 vote
1 answer
93 views
BASIC "Statement cannot be placed between SUB FUNCTIONS"
I'm trying to make a simple game with BASIC in QB64. I'm used to programming C# and I can't get the simples thing working: test 1.bas: REM $INCLUDE: 'test2.bas' Hey test2.bas: SUB Hey PRINT &...
0 votes
2 answers
53 views
How to Disable/Enable two pushbuttons at the same time using a checkbox in LO Basic
I have tried arranging this code a dozen different ways. I am at a loss. It only works on the first button. The macro runs on a "1' or "0" value in the cell linked to a checkbox. I want ...
-1 votes
1 answer
194 views
How to call a bash script from a basic function (macro)
i am trying to find the way to call a simple bash script from a macro of my calc document. i 've hard with this instruction: session.RunApplication("Shell", "/usr/local/bin/essai-macro-...
3 votes
2 answers
190 views
Unable to enter a FOR loop in ZX Spectrum BASIC type-in
I'm trying to get back into Spectrum BASIC and have been reading an old manual, so am looking at the very basics of BASIC. I've been trying to type the following line of code in to create the opening ...
0 votes
0 answers
52 views
How do I use TextMate in Visual Studio to syntax colour a keyword that isn't followed by whitespace?
I am trying to make some syntax colouring for Visual Studio 2022, when displaying BBC Basic V from the Acorn Archimedes. This is a language that had its heyday in the late 80s and early 90s. I've ...
0 votes
0 answers
47 views
Macro in Basic for LibreOfficeWriter: make a textframe for each bookmark
I have a Writer document, that has bookmarks (It's a theater play, the bookmarks are the number of each verse). I'd like to make each bookmarks visible, I am thinking about creating a textFrame for ...