CompuServe Thread

math problem

3 messages in this thread
#163686From: SyndesisMar 13, 1994 1:12 PM
Are you working in C? In forums like the DDJFORUM or the CLMFORUM, you should be able to find straight C code for writing your own math parser and evaluator. It's a relatively complex process. Or maybe check the Borland forums… I know their C compilers come with a demo spreadsheet that includes an expression parser. Hypercard makes it easier because it's interpreted, not compiled. It's not hard for it to give the programmer an option to interpret a string, when Hypercard is doing that for the entire rest of the script.
#163895From: Dieter KoehlerMar 14, 1994 2:38 PM
Hello John! Thank you for the information. Although I'm programming in Pascal I'll visit these forums you mentioned. A recent issue of "Mactech" had a fine article for pascal programmers who try to understand 'C'. Dieter
#163959From: SyndesisMar 14, 1994 8:48 PM
Another trick for Pascal programmers who want to know C, is to use one of these public domain "Pascal to C" translators. They often work well on generic Pascal. You can write in Pascal, then let the program translate it to see at least one possible implementation in C.