Re: URL Encoder

2017-11-13 Thread Peter Bozek via 4D_Tech
On Mon, Nov 13, 2017 at 12:42 PM, Paul Dennis via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hello, > > I tried this in V15.5 I cannot type True:C215 into method editor when you > press return it reverts to True ? > > Is this because its a command very confused > Paul > In method editor it does no

Re: URL Encoder

2017-11-13 Thread Paul Dennis via 4D_Tech
Hello, I tried this in V15.5 I cannot type True:C215 into method editor when you press return it reverts to True ? Is this because its a command very confused Paul -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html **

Re: URL Encoder

2016-10-21 Thread Tim Nevels
On Oct 21, 2016, at 1:49 PM, Bob Miller wrote: > I've puzzled over this as I am not familiar with what "True:C214" > doesI did some digging in the "Operators" section of the language > manual, but I either missed or could not find the : (colon) operator. > Maybe this is a typo; if not, what

Re: URL Encoder

2016-10-21 Thread Arnaud de Montard
> Le 21 oct. 2016 à 14:47, Epperlein, Lutz (agendo) > a écrit : > > http://doc.4d.com/4Dv15/4D/15.1/Using-tokens-in-formulas.300-2685875.en.html > >> RE> $shouldEscape:=True:C214 introducing the dark side of tokenization… -- Arnaud de Montard ***

RE: URL Encoder

2016-10-21 Thread Epperlein, Lutz (agendo)
http://doc.4d.com/4Dv15/4D/15.1/Using-tokens-in-formulas.300-2685875.en.html > RE> $shouldEscape:=True:C214 -- Lutz Epperlein -- Agendo Gesellschaft für politische Planung mbH Köpenicker Str. 9 10997 Berlin http://www.agendo.de/ --

Re: URL Encoder

2016-10-21 Thread bob . miller
Hello Miyako, In the code you prepared to solve the URL Encoder issue, there is this line: RE> $shouldEscape:=True:C214 I've puzzled over this as I am not familiar with what "True:C214" doesI did some digging in the "Operators" section of the language manual,

Re: URL Encoder

2016-10-20 Thread Sujit Shah
Thanks!!! On Fri, Oct 21, 2016 at 11:20 AM, Keisuke Miyako wrote: > there is no native function, but you could try this: > > C_TEXT:C284($1;$0;$escaped) > > C_LONGINT:C283($i) > C_BOOLEAN:C305($shouldEscape) > C_BLOB:C604($data) > > For ($i;1;Length:C16($1)) > > $char:=Substring:C12($1;

Re: URL Encoder

2016-10-20 Thread Keisuke Miyako
there is no native function, but you could try this: C_TEXT:C284($1;$0;$escaped) C_LONGINT:C283($i) C_BOOLEAN:C305($shouldEscape) C_BLOB:C604($data) For ($i;1;Length:C16($1)) $char:=Substring:C12($1;$i;1) $code:=Character code:C91($char) $shouldEscape:=False:C215

URL Encoder

2016-10-20 Thread Sujit Shah
Is there a new 4D Command that does this? I am using a large case statement to do this but does not work 100% .. -- xxx "There must be ingenuity as well as intention, strategy as well as strength. " ***