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
858
questions
-1
votes
2
answers
26
views
How to open a new windows form from a submenu
I am currently just practicing code on Visual basic. Basically, I created a windows form with many texts on it. each text is the name of a color txtRed, txtBlue, etc.
I am trying to create a simple ...
1
vote
6
answers
9k
views
Visual Basic create loop for counting even numbers
The program requires input of positive numbers, and counts each even number using a loop function that doesn't count odds and ends if a O is input.
I'm not sure how to go about creating a loop or if ...
2
votes
3
answers
328
views
What is the error in following program in GW BASIC?
I was making a program which could tell if a given number is a prime number or not. No matter whether I enter a prime number or another number, it always shows "it is not a prime number". Is there any ...
1
vote
0
answers
31
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 ...
-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 ...
0
votes
1
answer
26
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 ...
5
votes
1
answer
175
views
Can I tell the QB64 compiler *not* to optimize my code?
I want to experiment with the efficiency of various algorithms and compiler optimization is an obstacle. Can I disable compiler optimizations in QB64?
2
votes
1
answer
34k
views
Calling REST API from Visual Basic
I keep getting a 404 error.
It works fine if I call the REST API from SoapUI.
I’m using Visual Basic VS2015.
I have a sample function which I’m calling from a simple forms project. This is just to get ...
0
votes
9
answers
6k
views
Best OpenSource/free solution for compiling in basic for Windows [closed]
i need a tiny program like powerbasic for compiling basic applications that runs on the console of windows (tiny, so microsoft express edition is not an option). What do you recomend me?
0
votes
1
answer
1k
views
Where is my output from the ReceiveHTTPFile function in PureBasic?
PureBasic adds a JSON library so it can play nice with web stuff. But I can't figure out what type of output I am getting from the ReceiveHTTPFile() function.
Their documentation is pretty sparse ...
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 ...
1
vote
4
answers
248
views
Syntax Err GET on an Apple II, AppleDOS 3.3 using Applesoft
I am using the AppleWin emulator, setup as an Apple IIe, Apple DOS 3.3 with Applesoft. My goal is to make a simple game.
This simple GET program works fine at the ] prompt (I am not sure, but I think ...
3
votes
2
answers
1k
views
Open Files Created with BSAVE in QuickBasic?
I have some files that were created using BSAVE in QuickBasic. I'm wondering how I can load/view these files?
0
votes
1
answer
101
views
what is role of a colon in Purebasic. What steps does this code will take?
hi I'm a beginner of purebasic and I'm trying to execute and analyze some code and I dont understand what are these
' : '??
*palmTemp.CvPoint : *temp.CvPoint : *additional.CvPoint
*storage....
0
votes
0
answers
17
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
...