CodeLobster IDE
http://codelobster.com/forum/

SYNTAX CHECK PROBLEM
http://codelobster.com/forum/viewtopic.php?f=8&t=24860
Page 1 of 1

Author:  Simon69 [ Sat Sep 05, 2020 2:40 am ]
Post subject:  SYNTAX CHECK PROBLEM

I bought tonight the Lite version of Codelobster PHP Edition, and I had the first disappointment.
Code:
                    switch (true) {
                        case (>100000) and (<=500000) {                                 
                                 = 50000;
                                break;
                  }                   
                                    
                        case (>500000) and (<=1000000) :
                                 = 75000;
                                break;
                           
                        case (>=1000000) :
                                 = 100000;
                                break;
                           
                        default :
                            =0;
                            break;
                       
                    }

This piece of code, you have a syntax error, but our program ignores it. Someone can tell me how to intervene on the parameters or other so that the problem can be solved.

Author:  arnego2 [ Mon Sep 21, 2020 9:06 pm ]
Post subject:  Re: SYNTAX CHECK PROBLEM

Simon69 Wrote:
I bought tonight the Lite version of Codelobster PHP Edition, and I had the first disappointment.

This piece of code, you have a syntax error, but our program ignores it. Someone can tell me how to intervene on the parameters or other so that the problem can be solved.


You have to adjust the error reporting in settings.
so far I know at least ;)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/