[fpc-pascal] string variant

ik idokan at gmail.com
Wed Aug 27 08:16:15 CEST 2008


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://ik.homelinux.org/


More information about the fpc-pascal mailing list