I.T. Discussion Community!
-Collapse +Expand
VB Classic
Search VB Classic Group:

Advanced
-Collapse +Expand VB Classic Store

Prestwood eMagazine

September Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyVisual Basic Classic BoardVB Classic Other Topic   Print This     

NEED STRINGS HELP!!!!!! PLZ

NEED STRINGS HELP!!!!!! PLZ in VB Classic Other topic (part of our Visual Basic Classic group).

Quick Search: STRINGS   STRINGS   STRINGS PLZ  
Trisaor
 (Inactive)
MD
Say the user will input an equation and i want to replace the Xs with other numbers in a loop, and then find the value of the equation. I got it to work, but for the value it gives me the very first number, how do i do this?, tnx for ur help.
 Posted 17 years ago (Thread Starter)
Comment Quote
About Trisaor -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #6352, 2 replies
Thread Started 5/28/2002 11:50:00 AM
View Counter=2664
Last Reply Posted 10/11/2002 12:15:00 AM)
Location=MD  
Joined=17 years ago   MB Posts=1  
Most Recent Post
RobZ
 (Inactive)
JHB, South Africa
Look at this methodology, it allows U to execute a line of code @ runtime

http://www.thescarms.com/VBasic/Scripting.asp
Hope this helps
 Posted 17 years ago
Comment Quote
About RobZ -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #7879 (Level 1.1)  Reply to 6352
Thread Started 10/11/2002 12:15:00 AM
View Counter=2
Location=JHB, South Africa  
Joined=18 years ago   MB Posts=9  
Robin Harvey
Harrogate, UK
Trisador!
That's a pretty confused message, don't know exacly what you mean. Remember that if you got values in a string and you want to perform arithmetic on them you need to convert them into the right data type first (ie int or double). Also, if you have a whole equation in on string, ie.
2 + 3 * 4
you will need to parse the string, find the numerical values and then perform the operations in the right order. Note, the above should be evaluated as :
2 + (3 * 4)
Because the * has a greater precidence as the +.
Hope that helps

Robin
R Harvey
 Posted 17 years ago
Comment Quote
About Robin Harvey -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.

Post ID #6545 (Level 1.2)  Reply to 6352
Reply Posted 6/6/2002 9:29:00 AM
Location=Harrogate, UK  
Joined=18 years ago   MB Posts=13  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1195A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #6352 Counter
2664
Since 4/2/2008

Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech