1. extended string not working

I installed euphoria-4.0b1 on ubuntu 9.04 and I'm testing the demos

The extended string doesn't work. The reported error is
<0097>:: hex number not formed correctly

This error occured in chat_client.ex and regexps.ex. I didn't test others

Jacques

new topic     » topic index » view message » categorize

2. Re: extended string not working

jacques_desch said...

I installed euphoria-4.0b1 on ubuntu 9.04 and I'm testing the demos

The extended string doesn't work. The reported error is
<0097>:: hex number not formed correctly

This error occured in chat_client.ex and regexps.ex. I didn't test others

The bug in in the demo programs. They are using old syntax, The correct raw string syntax is ...

  • Using triple-quotes...

"""This is a "raw" text string.""" 

  • Using back quotes ...

`This is a "raw" text string.` 

So replace the code fragments #/ ... / with ` ... ` and it should be fine.

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

3. Re: extended string not working

DerekParnell said...
jacques_desch said...

I installed euphoria-4.0b1 on ubuntu 9.04 and I'm testing the demos

The extended string doesn't work. The reported error is
<0097>:: hex number not formed correctly

This error occured in chat_client.ex and regexps.ex. I didn't test others

The bug in in the demo programs. They are using old syntax, The correct raw string syntax is ...

  • Using triple-quotes...

"""This is a "raw" text string.""" 

  • Using back quotes ...

`This is a "raw" text string.` 

So replace the code fragments #/ ... / with ` ... ` and it should be fine.

The documentation is not updated concerning this new syntax

jacques

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

4. Re: extended string not working

DerekParnell said...
jacques_desch said...

I installed euphoria-4.0b1 on ubuntu 9.04 and I'm testing the demos

The extended string doesn't work. The reported error is
<0097>:: hex number not formed correctly

This error occured in chat_client.ex and regexps.ex. I didn't test others

The bug in in the demo programs. They are using old syntax, The correct raw string syntax is ...

  • Using triple-quotes...

"""This is a "raw" text string.""" 

  • Using back quotes ...

`This is a "raw" text string.` 

So replace the code fragments #/ ... / with ` ... ` and it should be fine.

Well! it almost works. In chat_client.ex line 15, the underscores according to documentation should be replace by white spaces but they are printed as is.

jacques

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

5. Re: extended string not working

jacques_desch said...

Well! it almost works. In chat_client.ex line 15, the underscores according to documentation should be replace by white spaces but they are printed as is.

the docs have been updated for b2 and online next time they are regenerated.

the underscore removes leading whitespace, so you can have the strings indented in code but not indented when output.
could that section be made clearer somehow?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu