|
-
Oct 3rd, 2000, 04:23 AM
#1
Thread Starter
New Member
1.
Can I do calculations in text boxes? Suppose the text property of a textbox is "2*4+5" and I want the result in an integer type variable iResult so that iResult = 13. So whenever I call iResult it will give me the integer 13, not the string "2*4+5".
2.
Suppose, this is the code I have
for x = 1 to 10
y = text1.text
print x
next x
Now I will enter "2 * x + 5" in the textbox and the output would be 7,9,11...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|