Use transform calculating string to boolean
Hi, The title may be hard to understand but i will try my best to explain: (also, sorry for worst english ever) So, i want to create a function which can be able to transform if expression as string: "(true == 78 > 0.3f - (5*6/6.1f) && (!false || 9.938f < 506))" will return "true" as boolean (if i didn't make any error). I search on web on i found this image, Click here, This image explain how if work, i have tried to reproduce it but, i wasn't able to operate bracket.
if(any one can help me) { Help("Please!"); }
Answer by jgodfrey · Feb 29, 2016 at 01:43 AM
You need an "expression parser". I've had good luck with FLEE in the past.
Your answer
Follow this Question
Related Questions
How do I run an animation then destroy a game object? 0 Answers
cvCalcOpticalFlowPyrLK function of openCV 0 Answers
Cannot convert 'String' to 'Array'. 2 Answers
Find First Parentheses in String 2 Answers
Using function return in if statement 2 Answers