Information Technology - Computer Programming - Source Code - Homebrew - Open Source - Software - Hardware - 8 bit - 16 bit - 32 bit - 64 bit - x86 - x64 - DOS - Windows - Linux - Arduino - Embedded - Development - Retro - Vintage - Math - Science - History - Hobby - Beginners - Professionals - Experiment - Research - Study - Fun - Games

Search found 12 matches

by Beronica
Thu Mar 28, 2024 6:00 am
Forum: Classic BASIC
Topic: VTech Precomputer 1000 Examples
Replies: 5
Views: 2155

Re: VTech Precomputer 1000 Examples

BMI Calculator This program calculates a person's body mass index using their weight and height in either the metric or imperial system. Line 20 asks the user which unit system they would like to use. Line 30 makes sure the user only enters a 1 or a 2. Line 40 jumps to line 80 if the user chose the...
by Beronica
Thu Mar 21, 2024 1:08 am
Forum: Classic BASIC
Topic: VTech Precomputer 1000 Examples
Replies: 5
Views: 2155

Re: VTech Precomputer 1000 Examples

Pangram Checker A pangram is a sentence that contains all the letters of the alphabet at least once. For example, "The quick brown fox jumps over a lazy dog." This program checks to see if the user's input is a pangram. Line 40 sets an array of 26 elements, one for each letter of the alph...
by Beronica
Wed Mar 13, 2024 8:00 pm
Forum: Classic BASIC
Topic: VTech Precomputer 1000 Examples
Replies: 5
Views: 2155

Re: VTech Precomputer 1000 Examples

Hex To Decimal This program converts a hexadecimal number to a decimal number. You can get a hexadecimal number from a decimal number by multiplying each digit to the power of 16 from its corresponding place and adding them together. Line 20 asks for user to input their hexadecimal number and store...
by Beronica
Thu Mar 07, 2024 12:20 am
Forum: Classic BASIC
Topic: VTech Precomputer 1000 Examples
Replies: 5
Views: 2155

Re: VTech Precomputer 1000 Examples

Decimal To Hex Hexadecimal, or hex for short, is a number system with a base of 16. The values are represented by 0 - 9 and A - F. Hex: 0 1 2 3 4 5 7 6 8 9 A B C D E F Value: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 The program below converts a decimal number to a hexadecimal number. Line 30 gets the ...
by Beronica
Mon Feb 26, 2024 6:04 am
Forum: Classic BASIC
Topic: VTech Precomputer 1000 Examples
Replies: 5
Views: 2155

Re: VTech Precomputer 1000 Examples

Palindrome Checker A palindrome is a word, phrase, or number that reads the same forwards and backwards. Punctuation, spaces, and case are ignored. For example "kayak", "Mr.Owl ate my metal worm.", and "101". Line 5 uses the CLEAR statement. CLEAR is used to assign mor...
by Beronica
Wed Jan 24, 2024 6:45 pm
Forum: Classic BASIC
Topic: VTech Precomputer 1000 Examples
Replies: 5
Views: 2155

VTech Precomputer 1000 Examples

I will be posting examples for the VTech PreComputer 1000 here. My first example is a program to convert a binary number to its decimal counterpart. 10 PRINT "BINARY TO DECIMAL" 20 INPUT "BINARY #: "; B 30 IF B <= 0 THEN 80 40 LET R = B - (10 * INT(B / 10)) 50 LET D = D + R * 2 ^...
by Beronica
Tue Jan 02, 2024 4:11 am
Forum: Craft Basic Archive
Topic: Happy New Year!
Replies: 2
Views: 3375

Re: Happy New Year!

Hello, Brian. Thank you for your best wishes. I hope your 2024 is prosperous as well.

Wow, that's an amazing display! I've never seen one like that.
by Beronica
Mon Jan 01, 2024 6:47 am
Forum: Craft Basic Archive
Topic: Happy New Year!
Replies: 2
Views: 3375

Happy New Year!

Wishing everyone a happy new year! :D rem By Bero and Gemino Smothers rem made for Craft Basic rem Happy New Year 2023-2024 precision 8 define windowx = 640, windowy = 480 define textx = 250, texty = 280, textw = 150, texth = 20 title "Happy New Year!" resize 0, 0, windowx, windowy center ...
by Beronica
Wed Mar 01, 2023 6:17 am
Forum: Craft Basic Archive
Topic: Mini Mastermind
Replies: 1
Views: 5377

Re: Mini Mastermind

Mini Mastermind has been included as an example in Craft Basic. Can you break 10 codes in a row?
by Beronica
Wed Mar 01, 2023 6:09 am
Forum: Craft Basic Archive
Topic: Nonogram
Replies: 1
Views: 5440

Re: Nonogram

Nonogram is now included as an example in Craft Basic if you would like to try it!