Stu Posted February 26, 2010 Report Share Posted February 26, 2010 Hello, is it possible to compose a single instruction using multiple variables and operators? Example %D1%=(%D2%/3+%D4%)/%D5% Thanks Quote Link to comment Share on other sites More sharing options...
Yehnfikm8Gq Posted February 27, 2010 Report Share Posted February 27, 2010 No you cannot. It would be interesting to write a macro that took a maths expression in plain text via Set String with Prompt, and make the calculation using ME commands. Shouldn't be very difficult since + - x(or*) / are easy to separate from numbers. Brackets may be more awkward to handle. Quote Link to comment Share on other sites More sharing options...
rberq Posted February 27, 2010 Report Share Posted February 27, 2010 FORTRAN it ain't. Quote Link to comment Share on other sites More sharing options...
Yehnfikm8Gq Posted February 27, 2010 Report Share Posted February 27, 2010 ....but there's no syntax to worry about! Quote Link to comment Share on other sites More sharing options...
Stu Posted February 27, 2010 Author Report Share Posted February 27, 2010 Bummer. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.