Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / makobasic / Calculator-1.2-code
Public GitHub Catalog Discovered Sep 24, 2026

makobasic / Calculator-1.2-code

Sorry but my last post didn't work. The code is: Dim number1 as integer number1=Val(TextField1.Text) Dim operation as String operation=TextField2.Text Dim number2 as integer number2=Val(TextField3.Text) IF operation ="+" THEN Dim sum as integer sum=(number1+number2) MsgBox "The answer is "+Str(sum) END IF operation ="-" THEN Dim sum as integer sum=(number1-number2) MsgBox "The answer is "+Str(sum) END IF operation ="x" THEN Dim sum as integer sum=(number1*number2) MsgBox "The answer is "+Str(sum) END IF operation ="/" THEN Dim sum as double sum=(number1/number2) MsgBox "The answer is "+Str(sum) END IF operation ="exponent" THEN Dim sum as integer sum=(number1^number2) MsgBox "The answer is "+Str(sum) END

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.

#2328594GitHub System ID
makobasicOrganization / User
PublicVisibility
ActiveCatalog Status

More from makobasic

↗

makobasic/EasyLisp

An attempt to create a Lisp that runs on the ANSII Common Lisp application on Terminal, that will help beginners get into Lisp.

Discovered
↗

makobasic/Calculator-1.2

Basic calculator program. I know it looks weird but it was created in REALbasic. That's where al the TextField stuff came from.This is the code for the button that calculates the operation

Discovered
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.