You are here: PSPad forum > Developer forum - new builds > PSPad unicode 5.0.0 (204) English

PSPad unicode 5.0.0 (204) English

Goto Page: Previous1 2 3 4

#31 Re: PSPad unicode 5.0.0 (204) English - PHP.DEF and switch statement

Posted by: Andreas | Date: 08/22/2017 20:58 | IP: IP Logged

Hi Jan,

have you tried to figure this out?
forum.pspad.com

Meanwhile I modified my PHP.DEF to
...
;

[witch | SWITCH statement]

switch($i|)
...

It works if I use witch instead of switch.

Options: Reply | Quote | Up ^


#32 Re: PSPad unicode 5.0.0 (204) English - PHP.DEF and switch statement

Posted by: julialbert | Date: 09/21/2017 06:27 | IP: IP Logged

Andreas:
Hi Jan,

have you tried to figure this out?

Meanwhile I modified my PHP.DEF to
...
;

[witch | SWITCH statement]

switch($i|)
...

It works if I use witch instead of switch.

Yes its works pefectly

Options: Reply | Quote | Up ^


#33 Re: PSPad unicode 5.0.0 (204) English - PHP.DEF and switch statement

Posted by: pspad | Date: 09/21/2017 06:54 | IP: IP Logged

I tested now with 5.0 version, PHP file
foreach and switch works for me without problems after Shift+Space

Maybe some user script what isn't installed in my PSPad causes it.

Options: Reply | Quote | Up ^


#34 Re: PSPad unicode 5.0.0 (204) English - PHP.DEF and switch statement

Posted by: Andreas | Date: 09/25/2017 17:22 | IP: IP Logged

Thank you for testing.

Now I found the cause.

User scripts was not the problem.

Following user-defined templates caused this behaviour.

[-session |M empty Session-Variable]
$_SESSION['§|']
;
[-sql |M DB-query]
$sql = "|";
$mysqli->query($sql);
;

The minus sign seems not to be allowed in names.

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 4





Editor PSPad - freeware editor, © 2001 - 2017 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák