I have a pretty weird problem, and would like some advice from one who is more experienced; I'm just starting to learn to program.
I am in a programming class, and am doing well, but oftentimes to upgrade my VB 6 programs I venture into territory I really don't know how to work with. For instance, I wanted to save fonts for a textbox but didn't know how to save anything but a .txt file and knew nothing about rich textboxes. I came...
User Profile
Collapse
-
Starting to learn programming . . . should i ?
-
you can create some code that will act like a function
Dim Number as Long, Factorial As Long, N as Long
Factorial=1
For N = Number to 1
_____Factorial= Factorial * N
Next N
Factorial will be your answer. It can be stored in any way that a variable can be stored.
_____Indicates an indent, it really doesn't matter, but ya know you have to do it.
No activity results to display
Show More
Leave a comment: