1. Kanarie Bug?

Tommy, it looks like if a conditional closing item is the very last thing in
a Kanarie template, it outputs a bad character.

Example:

{opendb=true:}
<p>Current Database: {current_db}</p>
<p>Current Table: {current_table}</p>
<p>Current Record: {current_record}</p>
{:opendb}

If the last "}" is the last thing in the file, it outputs a ÿ character.

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » topic index » view message » categorize

2. Re: Kanarie Bug?

cklester wrote:
> Tommy, it looks like if a conditional closing item is the very last thing in
> a Kanarie template, it outputs a bad character.
> 
> Example:
> 
> {opendb=true:}
> <p>Current Database: {current_db}</p>
> <p>Current Table: {current_table}</p>
> <p>Current Record: {current_record}</p>
> {:opendb}
> 
> If the last "}" is the last thing in the file, it outputs a ÿ character.

Again, I tried it out, but I don't get the problem.
What version of Euphoria are you using? Are you using EX, EXW or EXU?

--
The Internet combines the excitement of typing 
with the reliability of anonymous hearsay.

tommy online: http://users.telenet.be/tommycarlier
tommy.blog: http://tommycarlier.blogspot.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: Kanarie Bug?

Tommy Carlier wrote:
> cklester wrote:
> > Tommy, it looks like if a conditional closing item is the very last thing in
> > a Kanarie template, it outputs a bad character.
> > 
> > If the last "}" is the last thing in the file, it outputs a ÿ character.
> 
> Again, I tried it out, but I don't get the problem.
> What version of Euphoria are you using? Are you using EX, EXW or EXU?

exu

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

4. Re: Kanarie Bug?

cklester wrote:
> Tommy Carlier wrote:
> > cklester wrote:
> > > Tommy, it looks like if a conditional closing item is the very last thing
> > > in
> > > a Kanarie template, it outputs a bad character.
> > > 
> > > If the last "}" is the last thing in the file, it outputs a ÿ character.
> > 
> > Again, I tried it out, but I don't get the problem.
> > What version of Euphoria are you using? Are you using EX, EXW or EXU?
> 
> exu

Well, I don't use Linux, so I don't know how to test it.
One easy way of solving this issue: append an extra character at the end.
Like a space or something.

Reminds me of this joke:
<patient> Doctor, it hurts when I pick my nose.
<doctor> Then don't pick your nose.

--
The Internet combines the excitement of typing 
with the reliability of anonymous hearsay.

tommy online: http://users.telenet.be/tommycarlier
tommy.blog: http://tommycarlier.blogspot.com

new topic     » goto parent     » topic index » view message » categorize

5. Re: Kanarie Bug?

Tommy Carlier wrote:
> cklester wrote:
> > Tommy Carlier wrote:
> > > cklester wrote:
> > > > Tommy, it looks like if a conditional closing item is the very last
> > > > thing in
> > > > a Kanarie template, it outputs a bad character.
> > > > 
> > > > If the last "}" is the last thing in the file, it outputs a ÿ character.
> > > 
> > > Again, I tried it out, but I don't get the problem.
> > > What version of Euphoria are you using? Are you using EX, EXW or EXU?
> > 
> > exu
> 
> Well, I don't use Linux, so I don't know how to test it.
> One easy way of solving this issue: append an extra character at the end.
> Like a space or something.

Yeah, that's what I did to work around it. Just thought you should know in
case you want to make things "perfect." :P

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu