Search found 11 matches

by Cobramil
Fri Oct 27, 2017 4:27 am
Forum: QBasic / QuickBasic related
Topic: Program to reformat dumped data
Replies: 1
Views: 1467

Re: Program to reformat dumped data

On my QbeX desktop opened the file without error.
by Cobramil
Sun Aug 20, 2017 2:36 am
Forum: QBasic / QuickBasic related
Topic: New member
Replies: 1
Views: 1431

Re: New member

The programming "BASIC" in the way that we, the programmers of the old generation, know, but compatible with the current Operating Systems, certainly the best option is QB64. Http://www.qb64.net
by Cobramil
Fri Jul 14, 2017 2:57 am
Forum: QBasic / QuickBasic related
Topic: Out of memory errors running from editor
Replies: 1
Views: 1771

Re: Out of memory errors running from editor

I do not know exactly what your difficulty is, but I understand that you have problems with extremely long programs, and therefore there are errors of lack of memory.
Whenever I develop long programs (programs) I fragment into smaller programs specific to each function and provide a menu so that the ...
by Cobramil
Mon Jun 19, 2017 3:05 am
Forum: QBasic / QuickBasic related
Topic: How do I limit user input
Replies: 2
Views: 2580

Re: How do I limit user input

This link application (Quick-Basic) below has an "ENTRADA" subprogram that receives input from the keyboard. Accepts only one line no longer than 79 characters.
The ENTRADA subprogram requires the CMND, MOUSE, CLICK subprograms.

https://1drv.ms/u/s!AiHVG0VYRSnqhR-V1N5x_D42GjGh
Quick-Basic should be ...
by Cobramil
Sun May 28, 2017 1:54 am
Forum: QBasic / QuickBasic related
Topic: How to get rid of "Press any key to continue . . ." message?
Replies: 2
Views: 3367

Re: How to get rid of "Press any key to continue . . ." message?

Try to concatenate the video impressions (;), especially the last two lines. For example: PRINT "└───┘";
Note that you have a concatenation (;) at the end. This forces the cursor to wait without moving to the next line, which would force the compiler to suspend the last two lines.
Right after the ...
by Cobramil
Tue Jul 26, 2016 12:02 am
Forum: QBasic / QuickBasic related
Topic: Create and test for blank and null string. AND condition
Replies: 2
Views: 2347

Re: Create and test for blank and null string. AND condition

I do not know if I understand your question. Here are some basic tips.

COLOR 7, 3: CLS
A$ = STRING$(10, 32) 'Defines string with 10 characters space
PRINT "String A$: "; A$; LEN(A$); "bytes, Code ="; ASC(MID$(A$, 1, 1))

B$ = STRING$(10, 88) 'Defines string with 10 characters X
PRINT "String B ...
by Cobramil
Wed Mar 30, 2016 12:07 am
Forum: QBasic / QuickBasic related
Topic: getting started
Replies: 1
Views: 1767

Re: getting started

I love Quick-Basic, but I recognize that, today, this language is below the minimum required for those who want to start programming. The new operating systems made it impossible this programming language.
Perhaps your best option is to acquire qb64 http://www.qb64.net/ it is free, compatible with ...
by Cobramil
Thu Mar 10, 2016 3:38 pm
Forum: QBasic / QuickBasic related
Topic: Need help With Leap Year
Replies: 3
Views: 4421

Re: Need help With Leap Year

Having the above information, I could develop this Quickbasic program.
It is in the format and language of my native country, but with a bit of calm can be formatted to any country.
To compile in order to turn into an executable, you must call the Quick-Basic including the library: QBX/L ...
by Cobramil
Thu Mar 10, 2016 1:46 am
Forum: QBasic / QuickBasic related
Topic: Need help With Leap Year
Replies: 3
Views: 4421

Re: Need help With Leap Year

There is a simple way to calculate the number of days between two dates:
Equations are to calculate the number of days Julian and day of the week (0 to 6), where 0 = Sunday and 6 = Saturday.
The algorithm is shown in the flowchart below.
The "CCAL" subroutine executes the equations.
NDJ = number of ...
by Cobramil
Sun Mar 06, 2016 10:09 pm
Forum: QBasic / QuickBasic related
Topic: Reading .csv file into GW Basic
Replies: 1
Views: 2278

Re: Reading .csv file into GW Basic

You could drag the mouse to the desired Excel columns and copy, and then open the "EDIT.COM" and paste, and "Save" with any other name. The data will enter the EDIT.COM tabulated with the same formatting of Excel.
After that, your GWBasic program could open it and change it in their own way.
However ...
by Cobramil
Sat Mar 05, 2016 3:29 am
Forum: QBasic / QuickBasic related
Topic: QuickBasic - Code help.
Replies: 2
Views: 1835

Re: QuickBasic - Code help.

Code: Select all

CLS
INPUT "Enter pyramid lines: ", X
FOR I = X TO 1 STEP -1
  PRINT SPC(I - 1); "*";
  LOCATE , X * 2 - I
  PRINT "*"
NEXT