fpc/tests/webtbs/tw12233.pp
2008-09-27 12:40:42 +00:00

13 lines
165 B
ObjectPascal

program postest;
{$mode objfpc}{$H+}
var
wchar: WideChar;
wstring: WideString;
begin
wchar := 'a';
wstring := 'badc';
writeln(Pos(wchar, wstring));
end.