> I am escaping each element of the array by using char(1) A bell is ringing in the back of my head...is the Char(1) trick deprecated? I had a quick look at the docs and couldn't figure it out...does anyone else remember?
On Fri, Oct 21, 2016 at 10:58 AM, Sujit Shah <[email protected]> wrote: > Thanks Ortwin. I am escaping each element of the array by using char(1) > > > I eventually ended up using > > href="<!--4DHTML atMyMagicalTag{$loopArray} " > ... > > APPEND TO ARRAY(atMyMagicalTag;MyMagicTagMethod) > ... > > `MyMagicTagMethod > > $tStartDate:="2016-10-16" > $tStartTime:="09:30:00" > ... > > $tInput:="<!--#4DEVAL $1-->" > $tInput:=$tInput+"<!--#4DTEXT $2-->" > $tInput:=$tInput+"<!--#4DEVAL $3-->" > $tInput:=$tInput+"<!--#4DTEXT $4-->" > ... > > PROCESS 4D TAGS($tInput;$tOutput;"StartDate=";$tStartDate;" > StartTime=";$tStartTime.. > > $0:=Char(1)+$tOutput > > > > > > On Fri, Oct 21, 2016 at 12:20 AM, Ortwin Zillgen <[email protected]> wrote: > > > > Problem is if I use 4DTEXT Transformation Tag it will escape the "=" > > > character > > > If I use 4DHTML Tag it will not escape the characters in the values > such > > as > > > space and ":" in "2016-10-22 09:30:00" > > > … > > > I would like to do just: > > > > > > href="<!--4DHTML atMyMagicalTag{$loopArray} --> > > > > in this case, I'd put escaped URLs into atMyMagicalTag > > > > > > > > Regards > > O r t w i n Z i l l g e n > > --------------------------------------------- > > <mailto:[email protected]> <http://dddd.mettre.de/wp/?4713> > > <feed://dddd.mettre.de/dddd.xml> <https://twitter.com/Ozett> > > member of developer-network <http://www.die4Dwerkstatt.de> > > > > ********************************************************************** > > 4D Internet Users Group (4D iNUG) > > FAQ: http://lists.4d.com/faqnug.html > > Archive: http://lists.4d.com/archives.html > > Options: http://lists.4d.com/mailman/options/4d_tech > > Unsub: mailto:[email protected] > > ********************************************************************** > > > > > -- > > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > "There must be ingenuity as well as intention, strategy as well as > strength. " > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** > ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

