I am making a calculator app as my first self assigned project using Visual basic, and I want it to continue accepting numbers to calculate possibly up to a hundred different numbers, and I don't want to have to make a variable for all of them(not to even mention if that would work). The way I see it is that every different number entered into the calculator between operators would be stored as a different variable. Is this possible? maybe a work around? maybe even a better way to do it! any help is appreciated! thanks!
Visual basic continuing variables
73 Views Asked by Darth Trevader At
1
There are 1 best solutions below
Related Questions in VARIABLES
- .bat file - How can I return the value of a variable whose name depends on another variable concatenated with a string in a batch file?
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Does tensorflow have a way of calculating input importance for simple neural networks
- Can you define a variable in ranges in java
- How to only estimate neonatal mortality using syncmrates in Stata?
- PHP string variable to multiple rows in table sql insert
- Good practices for variables in Laravel's layout files
- Variable in Python going up by more than 1 at a time
- Accessing a variable from a string
- Encapsulation does not seem to work in dart
- TypeError: indice_delete() takes 0 positional arguments but 3 were given
- Altova Mapforce - How to use results from Tokenize at the same time in a database call?
- Powershell v5 - variable name replacement when referring to WPF objects
- Use javascript variable in document.querySelector (howTo)
- usage of multinomial assign javascript?
Related Questions in VISUAL-STUDIO-2013
- Alternative for nextafter when backporting to visual studio 2013
- Visual Studio 2013 Crystal report error "MIssing parameters Values"
- Visual Studio 2013 Crystal report 13.0.8 do not open
- Open Visual Studio 2012 solution in Visual Studio 2013
- SSRS DataTransform property in VS 2013 produces no output
- Virtual method with default parameter changed behavior
- why return nothing when i want to read password( CredentialBlob ) from credential manager in windows with type CRED_TYPE_DOMAIN_PASSWORD
- "This project is incompatible with the current version of Visual Studio" (VS2013)
- How to install AJAX in Visual Studio 2013
- "Package Installation" error on Visual Studio project load
- Choosing the user's installation folder of a program deployed with Visual Studio
- Running C++ dll in C# for calling functions
- Install multiple SAP Crystal Reports versions?
- Error "Cannot open source file" always occurs on Visual Studio Platform Toolsets v120_xp
- How to build Google test in Visual Studio 2013?
Related Questions in CALC
- Margin depending on screensize and variable in width
- Make a clip-path inset a square on any viewport, in JS
- Error with 'calc' function: not working on RasterStack/RasterLayer
- CSS Calc and Multiplication
- libreoffice calc Macro to shift focused cell to the right by one cell
- LibreOffice Calc macro to copy a range from one sheet to a different location in a different sheet
- Convert text to number in Libre Calc
- Independent colums in an independent Sheet shift position when a macro is run
- LibreOffice Calc - How to pass a Button form control 'Additional Info' data or URL data into a macro?
- libreoffie calc macro to paste formula
- Calc Libreoffice : How to create diagram using hours in X axis
- Libreoffice Calc: How to rank numbers without skipping ranks?
- Replace randomly occuring and grouped zeros with last non-zero number from the column above
- How can I colorize all merged cells with a sheet of Open Office-Calc?
- libreoffice calc how to loop in a named range
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you use a While loop you can do this fine.
All you need to do is set variables for Multiply, Subtract, Divide, and Add which should be as Booleans and declare FinalAnswer and Input as Dec.
Do something like:
For whenever you input another number. Have this assigned to a separate button called 'AddNumber' or something.
As soon as you want to output the total of all of these then you can have another button called 'Calculate' or something which could have something like:
You could also have this set at the bottom of the While loop which would give you a running total of all the numbers you have input so far.
Hope this makes sense!