The Factor Finder is a simple program that began as part of a school project. There were 2 edit boxes and a list. If you typed a number into a box, the list would show all of that number's factors. If you typed a number into both of the boxes, you would receive only the common factors of the 2 numbers.
I am working on an updated interface for the program and I wanted a way of inputing numbers that took less space. If someone wanted to find the common factors of multiple numbers, is it possible for them to enter all of them in one box separated by commas?
If so, then could someone please explain how to do this?
Specifically, I want the program to read the number list and store it. I am pretty sure I can work with it from there.
Use the string parser. I've no idea offhand but you can set a delimiter to "," and you can read bits of strings off it. Then you just Val() convert it.
And if you're interested, the mod keyword returns the remainder so if it is 0 then it's a factor. Yeah.