basic Questions

3

Solved

I'm dusting off my Atari ST 520, and am trying to understand some semantic details of the GFA basic. The TYPE(ptr) function is documented this way : Determines the type of the variable at which ...
Guardhouse asked 26/2, 2014 at 10:24

3

Solved

I'm having trouble with printing a board of dots in Commodore Basic 6502. This is what I have to far: (it's a subroutine) 10 INPUT "Please enter a number:", X 20 DIM A$(X, X) 30 FOR I = 0 TO X 40...
Australian asked 19/3, 2014 at 22:41

4

I have been challenged by a friend to write a QBasic compiler in QBasic. Where can I find a language specification for the latest version of the language?
Anglicist asked 18/12, 2010 at 8:33

8

Solved

I want to do something like this: >>> mystring = "foo" >>> print(mid(mystring)) Help!
Merchandise asked 23/3, 2014 at 2:20

1

I'm building an application for Windows, and I need to transfer data via serial port, but I can't figure out how to make it work. I tried different declarations, different imports, but nothing. Her...
Death asked 19/11, 2020 at 16:5

8

Solved

I want to have line numbers in my VBA code for debugging reasons. That will allow me to know where a particular error occurred. Is there an automatic feature for this (such as an option in setting...
Pronunciation asked 6/12, 2016 at 17:10

4

Solved

Microsoft BASIC, GW-BASIC and BASICA all use a prompt that looks like this: I can't figure out how to exit any of these. Typing END does not exit them. EXIT, QUIT, Q, Ctrl+C, and everything else...
Monopoly asked 30/5, 2017 at 3:42

3

Solved

I have this variable declarations on my program: X="MAGENTA" Y="CYAN" Z="TAN" A="KHAKI" Now what I want is to randomly choose one of these and PRINT it. But how to do this?
Breann asked 12/10, 2010 at 2:36

1

Solved

I recently bought a c64 mini and been trying to code some assembly using Turbo Macro Pro v1.2. While working on the hello world program I found a tutorial where an auto run BASIC header was used. ...
Hostetler asked 24/8, 2019 at 20:26

4

Why do we write END IF statement in this program? Without writing it, we can easily get our result. Is there any example through which you can explain me the use of END IF statement? I have tried ...
Brood asked 24/1, 2019 at 18:34

1

Solved

Sub Macro1() ‘Remove all except validated ActiveSheet.Range("$A$1:$H$5202").AutoFilter field:=8, Criteria1:<>"Validated" Activesheet.Range("$A$2:$O$99999").SpecialCells(xlCellTypeVisible).Se...
Bedchamber asked 22/11, 2018 at 8:48

5

Solved

Here's a blast from the past: what does "REM", the comment marker, stand for in BASIC? What's the origin of this non-obvious term?
Othilia asked 19/8, 2009 at 2:7

4

Solved

Sometimes when coding in ZX Spectrum Basic I need to evaluate logical expressions that are formed by two operands and a logical xor like this: IF (left operand) xor (right operand) THEN Since ZX...
Advisement asked 7/9, 2017 at 13:24

3

Solved

So, I'd like to write larger functions in Commodore 64 BASIC. So far, from what I'm seeing from other sources (such as various C64 wikis, as well as the user's manual for the C64 itself,) function ...
Nagari asked 16/7, 2016 at 21:47

1

Solved

In BASIC I know of two instructions to print to the screen, PRINT, and WRITE, both of which automatically print strings with a newline at the end. I want to print a string without a newline. How ca...
Archiepiscopate asked 6/5, 2017 at 0:41

5

What is a good BASIC compiler for Mac OSX?
Marquismarquisate asked 5/11, 2010 at 22:44

1

Solved

I need to execute a cmd command in Visual Basic. It's not difficult but i need to give a argument while the external Programm runs. F:\mysql-5.7.13-winx64\bin\mysqldump.exe -h <ip> -u <us...
Idealist asked 27/7, 2016 at 17:45

2

Solved

I'm currently refactoring a heap of old GWBASIC code into python so it can be run on newer machines. They're all old engineering mathematics programs which are quite maths heavy as well as using th...
Maclaine asked 18/8, 2015 at 7:34

3

Solved

What are the difference between a GOTO and a GOSUB statements in BASIC programming language?
Pastime asked 10/10, 2012 at 1:28

10

Solved

What does Dim stand for in Visual Basic?
Unkenned asked 23/6, 2009 at 15:57

2

I am writing a simple Pong game in TI-Basic but the editor won't let me insert a line into the code I've already written. For example print "Hello world" <--Where I want to insert the code pri...
Cohette asked 27/5, 2014 at 22:17

2

Solved

In the TI-BASIC programming language (Specifically TI-84+), how do you create input forms, such as the ones included in the default apps on the TI-84+. The image included here shows an example of...
Georg asked 26/2, 2015 at 5:20

3

Solved

In Commodore 64 BASIC V2, PRINT'ing a true boolean expression outputs -1: READY. A=(5=5) READY. PRINT A -1 Why -1 and not 1?
Poff asked 9/3, 2014 at 15:29

1

Solved

I recently got my hands on a BBC Micro (model B), and been playing around with it as a hobby project. I'm having some trouble with the graphics commands, and was wondering if anyone could point me...
Cosmic asked 2/5, 2013 at 9:13

16

Solved

When you write something in BASIC, you are required to use line numbers. Like: 10 PRINT "HOME" 20 PRINT "SWEET" 30 GOTO 10 But I wonder: who came up with the idea to use line numbers at al...
Cush asked 12/2, 2009 at 14:18

© 2022 - 2024 — McMap. All rights reserved.