1. extended string not working
- Posted by jacques_desch Aug 14, 2009
- 923 views
- Last edited Aug 15, 2009
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
2. Re: extended string not working
- Posted by DerekParnell (admin) Aug 14, 2009
- 935 views
- Last edited Aug 15, 2009
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.
3. Re: extended string not working
- Posted by jacques_desch Aug 14, 2009
- 879 views
- Last edited Aug 15, 2009
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
4. Re: extended string not working
- Posted by jacques_desch Aug 14, 2009
- 958 views
- Last edited Aug 15, 2009
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
5. Re: extended string not working
- Posted by ne1uno Aug 15, 2009
- 927 views
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?