[WebDNA] switch / case value=% BUG?

This WebDNA talk-list message is from

2020


It keeps the original formatting.
numero = 115181
interpreted = N
texte = 2810 This is a multi-part message in MIME format. --------------4C4A79E0014D76A30B77BFA1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hello all, 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]] =C2=A0=C2=A0=C2=A0 [case value=3D[url]%[/url]] =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3Dpcnt[/text] =C2=A0=C2=A0=C2=A0 [/case] =C2=A0=C2=A0=C2=A0 [case value=3D%25] =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3Dpcnt[/text] =C2=A0=C2=A0=C2=A0 [/case] =C2=A0=C2=A0=C2=A0 [default] =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3D[char][/text] =C2=A0=C2=A0=C2=A0 [/default] [/switch] As you can see I've tried with a comparison to [url]%[/url] and the=20 encoded %25. Each time it gives me the default result. My system: CentOS Linux 7.7.1908 WebDNA 8.5.1 server version --=20 Matthew A Perosi Corporate Consultant Mobile Marketing Expert Senior Web Developer SEO Analyst & Educator matt@psiprime.com Psi Prime 323 Union Blvd. Totowa, NJ 07512 Direct: 888.872.0274 Fax: 888.488.5924 http://www.perosi.com --------------4C4A79E0014D76A30B77BFA1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello all,

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]]
=C2=A0=C2=A0=C2=A0 [case value=3D[url]%[/url]]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3Dpcnt[/text]    
=C2=A0=C2=A0=C2=A0 [/case]
=C2=A0=C2=A0=C2=A0 [case value=3D%25]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3Dpcnt[/text]    
=C2=A0=C2=A0=C2=A0 [/case]
=C2=A0=C2=A0=C2=A0 [default]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3D[char][/text]<=/pre>    
=C2=A0=C2=A0=C2=A0 [/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 & Educatorm=att@psiprime.comPsi Prime323 Union Blvd.Totowa, NJ 07512Direct:  888.872.0274Fax:     888.488.5924http://=www.perosi.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --------------4C4A79E0014D76A30B77BFA1-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] switch / case value=% BUG? (Stuart Tremain 2020)
  2. [WebDNA] switch / case value=% BUG? ("Matthew A Perosi, Psi Prime" 2020)
2810 This is a multi-part message in MIME format. --------------4C4A79E0014D76A30B77BFA1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hello all, 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]] =C2=A0=C2=A0=C2=A0 [case value=3D[url]%[/url]] =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3Dpcnt[/text] =C2=A0=C2=A0=C2=A0 [/case] =C2=A0=C2=A0=C2=A0 [case value=3D%25] =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3Dpcnt[/text] =C2=A0=C2=A0=C2=A0 [/case] =C2=A0=C2=A0=C2=A0 [default] =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3D[char][/text] =C2=A0=C2=A0=C2=A0 [/default] [/switch] As you can see I've tried with a comparison to [url]%[/url] and the=20 encoded %25. Each time it gives me the default result. My system: CentOS Linux 7.7.1908 WebDNA 8.5.1 server version --=20 Matthew A Perosi Corporate Consultant Mobile Marketing Expert Senior Web Developer SEO Analyst & Educator matt@psiprime.com Psi Prime 323 Union Blvd. Totowa, NJ 07512 Direct: 888.872.0274 Fax: 888.488.5924 http://www.perosi.com --------------4C4A79E0014D76A30B77BFA1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello all,

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]]
=C2=A0=C2=A0=C2=A0 [case value=3D[url]%[/url]]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3Dpcnt[/text]    
=C2=A0=C2=A0=C2=A0 [/case]
=C2=A0=C2=A0=C2=A0 [case value=3D%25]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3Dpcnt[/text]    
=C2=A0=C2=A0=C2=A0 [/case]
=C2=A0=C2=A0=C2=A0 [default]
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 [text]img=3D[char][/text]<=/pre>    
=C2=A0=C2=A0=C2=A0 [/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 & Educatorm=att@psiprime.comPsi Prime323 Union Blvd.Totowa, NJ 07512Direct:  888.872.0274Fax:     888.488.5924http://=www.perosi.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --------------4C4A79E0014D76A30B77BFA1-- . "Matthew A Perosi, Psi Prime"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

Taxes rates based on item and State (1998) Req for code: upload and append to DB (2002) MacWEEK article help needed (1996) [WebDNA] difference in formatting [time] (2011) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Price recalc based on quantity (1997) [OT] External Link Trapping (2004) Generating Report Totals (1997) Multiple cart additions (1997) [REPLACE] inside [FOUNDITEMS] (1998) Kaaaaahhhhhhhnnnnnnn! (1997) b12 cannot limit records returned and more. (1997) Re[2]: Problem with new formvariables (2000) Fun with Dates - revisited (1997) Getting total number of items ordered (1997) protect tag on NT IIS (1997) NetCloak as Emailer substitute? (1999) Problems with date math (1997) Fun with dates (1997) Need help with emailer- 2 issues (1997)