×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

RSView question about strings

RSView question about strings

RSView question about strings

(OP)
I need to read from two different integer files and combine the results into a display, do some math to the result, and send the final result back to another integer. The problem starts with the "combining" - I don't want to add them, just combine them. Example, if I have a 6 in N9:1 and a 3 in N9:2, I need the final result to be 63 (not 9).

I was able to do this by creating two string integers that read from the two integers and combining them with an expression (N9:1)+(N9:2) to display in a numeric display (which seems to work fine - don't know if I'm breaking any rules here)

My problem now is that I need to perform a calculation on the displayed result and send it to, say, N9:3 (Actually, I need to do several calculations with that number and sent the various results to individual integer files)

Any help along these lines would be greatly appreciated!

Wolf

RE: RSView question about strings

I would multiply the N9:1 by 10, then add the two.

RE: RSView question about strings

(OP)
OMG - I never thought of that! That simplifies everything I need to do! I can't tell you how much that small suggestion helped!! I've been overthinking the whole thing.

Thanks!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources