Re: [fpc-pascal] string variant

2008-08-28 Thread ik
Hi Thanks, the text editor indeen placed a unicode char of ' of a non ascii value. Ido On Thu, Aug 28, 2008 at 12:31 AM, Jonas Maebe <[EMAIL PROTECTED]> wrote: > > On 27 Aug 2008, at 07:16, ik wrote: > >> I've made the following example: >> >> program test_variant; >> uses variatns; >> >> var >>

Re: [fpc-pascal] string variant

2008-08-27 Thread Jonas Maebe
On 27 Aug 2008, at 07:16, ik wrote: I've made the following example: program test_variant; uses variatns; var my_var : Variant; begin my_var := 'Hello World'; writeln(my_var); end. The result is Fatal: illegal character "'�'" ($E2) The program compiles fine here after I change "variatns"

[fpc-pascal] string variant

2008-08-26 Thread ik
Hello, I've made the following example: program test_variant; uses variatns; var my_var : Variant; begin my_var := 'Hello World'; writeln(my_var); end. The result is Fatal: illegal character "'�'" ($E2) Is it it a bug (fpc 2.2.2) or I'm doing something wrong here ? Thanks, Ido -- http:/