Skip to main content

Questions tagged [basic]

For questions about the BASIC (Beginner’s All-purpose Symbolic Instruction Code) programming language. DO NOT USE TO INDICATE YOUR QUESTION IS SIMPLE!

basic
-3 votes
0 answers
15 views

Understanding the Meaning and Function of P(x|z) in Variational Autoencoder [closed]

I have a question regarding the functioning of Variational Autoencoders (VAEs), specifically about the meaning of P(x∣z). There seem to be a few possibilities for its interpretation: When z is fixed ...
HealingMusic's user avatar
1 vote
0 answers
29 views

Hide Console from .BAS compiled into .exe code

I'm developing an application manager to handle the execution of some legacy code written in .bas files. The application is being developed in Java/Kotlin and is accessed via a web service. The .bas ...
Victor Dalosto's user avatar
-3 votes
0 answers
22 views

HT BASIC fail call .NET dll file?

BASIC language programs need to call a class library written in C#. We created an intermediate DLL with a C language interface using C++/CLI. The invoke pipeline is: BASIC program—>dll (C++/CLI ...
ligand's user avatar
  • 294
0 votes
1 answer
25 views

Are PowerBASIC variables case-sensitive?

I'm working on porting some old code written in PowerBASIC and compiled by the PowerBASIC Console Compiler. I don't actually have access to a working PBCC myself, only some compiled artifacts to ...
Extradosages's user avatar
0 votes
0 answers
31 views

Visual Basic Linq with Eager Loading Include

I want to start a Linq query with Visual Basic. The query includes Eager Loading with Filtered Includes. Customers should be invited who have at least one order. Furthermore, I would like to limit the ...
OlafMS's user avatar
  • 1
0 votes
0 answers
16 views

How to non-Repeat the code that do the same thing on Visual Basic

I have a question about repeating code. I made an example with a Random Number Generator Public Class Form1 Dim Random As New Random Dim Value(20) As Integer Dim Number As Integer ...
Artur Strutzel's user avatar
1 vote
1 answer
40 views

get the bytes of a file to an array

I use the following 9 lines to put the bytes of a file NameF in vector T() in FreeBasic 0.4.6 FBide. Is there a better or shorter way? DIM L as ulong, NameF as string Input "Enter Name of the ...
Manuel Oliveros's user avatar
0 votes
0 answers
43 views

Trouble understanding a numerical method for solving differential equations

This is the BASIC code for solving a nth order IVP using the RK 4 method: CLS:KEY OFF: "Program RK-n for nth order IVPs" DIM A(4),G(4,4),W(4),X(4):W(1) = W(4) = 1/6:W(2)= W(3)=1/3 DEF FNF(T,...
Ajaykrishnan R's user avatar
0 votes
1 answer
83 views

How do I get content of a text cursor in Libreoffice Writer?

I want to get content of a text cursor in Libreoffice Writer. In this case, the content of the first word in the document. I tried the code below. The last line in the sub gets me the content of the ...
Jan Siebert's user avatar
0 votes
2 answers
114 views

Unable to change shape color using macro in LibreOffice Impress presentation mode

I'm trying to use Basic macros to make a shape change its color when clicked during presentation mode. My goal is to create versatile code that works on any slide, regardless of the number of shapes. ...
Alex Hubbe's user avatar
0 votes
1 answer
147 views

Paste formula in Libre Calc using Basic macro

I am trying to replicate an excel macro in Libre Calc using the native Basic. I've come up against what I feel should be a simple problem/resolution (for someone who has a clue what they are doing). I ...
Paul's user avatar
  • 3
2 votes
0 answers
38 views

Interpretation of BASIC line

I have had to OCR an old bit of BASIC code which contains this line: which I have interpreted as: 10140 FOR K = 1 TO NS: FOR J = 1 TO NN:A%(CJ%(J),S%(K)) = 1 * (A%(CJ%(J),S%(K)) = 1 OR A%(CJ%(J),N) ...
Adrian's user avatar
  • 325
0 votes
0 answers
16 views

Count down daily email sent out

Dim targetDate As Date Sub ScheduleEmail() ' Set the target date targetDate = DateValue("2024-01-14") ' Schedule the SendCountdownEmail macro to run at 9 AM every day ...
Samuel Wilson's user avatar
0 votes
0 answers
80 views

quickBasic WINDOW statement

I found this old book and in the appendix there are some QuickBasic programs that I want to try out.. the problem is that those were written on/for Apple Macintosh II and I use DosBox on a Linux PC.. ...
skibidi's user avatar
  • 13
0 votes
1 answer
220 views

Libreoffice Calc Basic macro to combine sheets with different number of columns

I need help with this LibreOffice Basic code intended to merge & combine all sheets into the "Combined" sheet. Columns are supposed to be merged as union of columns from all sheets, i.e. ...
zlatko's user avatar
  • 640

15 30 50 per page
1
2 3 4 5
58