On 14 Sep 2020, at 03:44, talk@webdna.us wrote:=20 =20Hello all,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us
Is it me or is it not possible to use switch/case with a value=3D%
Could this be a bug or is there an escape character that should be used?
Here's the code:
[text]textd=3D1234%6789[/text][listchars chars=3D[textd]][switch value=3D[url][char][/url]][case value=3D[url]%[/url]]=[text]img=3Dpcnt[/text][/case][case value=3D%25]=[text]img=3Dpcnt[/text][/case][default]=[text]img=3D[char][/text][/default][/switch]
As you can see I've tried with a comparison to [url]%[/url] and the encoded %25.
Each time it gives me the default result.
My system:
CentOS Linux 7.7.1908
WebDNA 8.5.1 server version
--=20Matthew A PerosiCorporate ConsultantMobile Marketing ExpertSenior Web DeveloperSEO Analyst & Educatormatt@psiprime.comPsi Prime323 Union Blvd.Totowa, NJ 07512Direct: 888.872.0274Fax: 888.488.5924http://www.perosi.com
|
On 14 Sep 2020, at 03:44, talk@webdna.us wrote:=20 =20Hello all,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us
Is it me or is it not possible to use switch/case with a value=3D%
Could this be a bug or is there an escape character that should be used?
Here's the code:
[text]textd=3D1234%6789[/text][listchars chars=3D[textd]][switch value=3D[url][char][/url]][case value=3D[url]%[/url]]=[text]img=3Dpcnt[/text][/case][case value=3D%25]=[text]img=3Dpcnt[/text][/case][default]=[text]img=3D[char][/text][/default][/switch]
As you can see I've tried with a comparison to [url]%[/url] and the encoded %25.
Each time it gives me the default result.
My system:
CentOS Linux 7.7.1908
WebDNA 8.5.1 server version
--=20Matthew A PerosiCorporate ConsultantMobile Marketing ExpertSenior Web DeveloperSEO Analyst & Educatormatt@psiprime.comPsi Prime323 Union Blvd.Totowa, NJ 07512Direct: 888.872.0274Fax: 888.488.5924http://www.perosi.com
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...