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!

0 votes
1 answer
866 views

Installing Basic on Linux

How to install Basic/VB on Fedora Linux?? I really wanna try it out. I've tried: sudo dnf install basic sudo dnf install visual-basic
ignacy's user avatar
  • 21
0 votes
1 answer
73 views

Which registers are callee-save in routines called via USR function in MSX BASIC?

In machine-language routines to be called via USR function in MSX BASIC, values of which registers should be preserved and which registers can be used without saving their original values? I tried ...
MikeCAT's user avatar
  • 75k
1 vote
1 answer
30 views

In my 3D Renderer in Apple 2, one of the vertices is at the wrong position

I have been trying to make a 3D renderer in the Apple ii using Applesoft Basic. The renderer uses the Weak Perspective Projection. However when I try rendering a cube, one of the vertices, ...
Roger Mariña's user avatar
0 votes
1 answer
99 views

Accessing SQL array element from Libreoffice Basic with Postgres DB

This is a followup with the discussion at: Accessing SQL array element from Libreoffice Basic I have almost the same problem. I am following the above mentioned code, but I get an error. Here is what ...
Z T Minhas's user avatar
0 votes
1 answer
33 views

IF formula excel-2019

IF(Database!L2="male, female",Database!N2,"") Salam to every one, The above formula can't working properly, I want ot get data from one sheet to other sheet( if L2 column equal to ...
Javid's user avatar
  • 3
0 votes
2 answers
154 views

Visual Basic 2019 - Click a button programmatically, created by code

By code, i created a several buttons with the letter of the alphabeth. a = 65 Do If a > 90 Then Exit Do Else Dim B As New Button Me.Controls.Add(B) B.Parent =...
Pedro Ramos's user avatar
3 votes
1 answer
158 views

I'm currently trying to learn commodore 64 BASIC and I'm getting an error with my sleep function

I've been recently learning commodore 64 BASIC and I'm trying to create a text adventure game, and I'm getting an error concerning all of the sleep functions I used. My code is: 20 SLEEP(1000) 30 ...
TurnipYossarian's user avatar
-1 votes
1 answer
91 views

explain what is missing from 10print

10 PRINT CHR$(205.5+RND+(1));:GOTO 10 I seem to be the only person ever to not be able to do this. i have written all kinds of BASIC but I can't do anything with this. What am i missing? I get "...
Mo Catz's user avatar
0 votes
3 answers
554 views

Macro to link checkboxes cell at Lib Calc

Context: I'm trying to learn excel, for personal and profissional purposes. As I can't afford excel at the moment I'm using Lib Calc which I found very similar. I learnt many things that can be easily ...
Hid's user avatar
  • 5
1 vote
0 answers
41 views

Can I increase a number by a macro in LibreOffice Impress?

I want to make a counter with Libreoffice Impress. Each Time I click on a rectangle, the number inside increases. Dim Doc As Object Dim Page As Object Dim Rect As Object Doc = ThisComponent Page = ...
Bob La Touffe's user avatar
0 votes
0 answers
35 views

Parse Basic Programming

Receiving this error when trying to compile code on replit. I have already tried to declare two arrays, you need to use separate DIM statements for each array: as 20 DIM W$(10) 30 DIM G$(26) Error: ...
hermes's user avatar
  • 1
2 votes
1 answer
647 views

VB6 does not terminate Excel process

I'm having an VB6 application that opens an excel macro enabled file using workbooks.open method. Inside this file, there is an userform that gonna be automatically opened when the file is opened. The ...
Duong Sansen's user avatar
1 vote
1 answer
153 views

LO Calc Basic - What is the right property name for the axis major/minor settings and how to set them correctly?

Using a libreoffice basic macro for charts, we can control the maximum value of an axis and turn the automatic mode on/off: oAxis.AutoMax = False oAxis.Max = 12345 But what are the right ...
onemorequestion's user avatar
0 votes
0 answers
79 views

I keep having an error whenever I run my Visual Basic code

I keep having an error in my Visual Basic console, error BC30506: Handles clause requires a WithEvents variable defined in the containing type or one of its base types. Public Class Form1 ...
Cee's user avatar
  • 1
0 votes
0 answers
28 views

Why does this assignment of a button object to a 2D array of buttons not work?

I am kind of new to programming in general, especially in Visual Basic. As part of a random project I am doing, I have declared a 2D array of type button and have then populated the array with buttons....
Tom Wright's user avatar

15 30 50 per page
1 2
3
4 5
58