Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


FP Math: Illegal floating point number

Keywords:    3338: FP Math

Question:

Any thoughts on the following?:

I'm reading a number out of an INI file that happens to be an IP address. When I try to use that IP address in a message I get the following error:

        3338: FP Math: Illegal floating point number. Too many dots.
Here is the code:
        Router=IniReadPvt("Main", "Router", "131.107.2.200", "TCPIP.INI")
        Message("The Router is:",%router%)
I need to be able to use this number elsewhere. Is it possible?

Answer:

I assume it's the "message" line that is dying? Try taking off the % signs from the variable, ROUTER.
Article ID:   W12956
Filename:   3338 FP Math Illegal Floating Point Numbers.txt