* initial revision

git-svn-id: trunk@433 -
This commit is contained in:
florian 2005-06-17 13:51:20 +00:00
parent b6a96ef4b3
commit 0954402873
2 changed files with 30 additions and 0 deletions

1
.gitattributes vendored
View File

@ -5937,6 +5937,7 @@ tests/webtbs/tw4055.pp svneol=native#text/plain
tests/webtbs/tw4058.pp svneol=native#text/plain
tests/webtbs/tw4078.pp svneol=native#text/plain
tests/webtbs/tw4089.pp svneol=native#text/plain
tests/webtbs/tw4093.pp svneol=native#text/plain
tests/webtbs/ub1873.pp svneol=native#text/plain
tests/webtbs/ub1883.pp svneol=native#text/plain
tests/webtbs/uw0555.pp svneol=native#text/plain

29
tests/webtbs/tw4093.pp Normal file
View File

@ -0,0 +1,29 @@
{ Source provided for Free Pascal Bug Report 4093 }
{ Submitted by "alphax" on 2005-06-16 }
{ e-mail: acmui_2004@163.com }
program test_var_dt;
{$IFDEF FPC}
{$MODE OBJFPC}
{$ENDIF}
uses
SysUtils, Variants;
var
DT: TDateTime;
S: string;
V: Variant;
C: Currency;
begin
V := '1.0';
C := V;
WriteLn(CurrToStr(C));
S := DateTimeToStr(Now());
V := S;
writeln(v);
DT := V;
WriteLn(DateTimeToStr(DT));
ReadLn;
end.