Page 1 of 1 1
Topic Options
#146112 - 2005-08-22 11:12 AM if?????
Werner2005 Offline
Fresh Scripter

Registered: 2005-08-19
Posts: 10
Hi I have wirten a Progamm my Problem is in the row 21
What is the Prblam

Tis is my Code
Code:
 break ON
DEBUG ON
? " Copyright (C) 2005 by Andreas Werner"
? " "
? " Bitte geben sie dein Path ein in dem sie suchen wollen:"
? gets $Path
if $Path = ""
goto end
else
$DATE = @date + " 00:00:00"
$DATE1 = @date + " 12:00:00"
$FileName = Dir("$Path")
$FileName2
? $DATE
? $DATE1
WHILE $FileName <> "" and @ERROR = 0
? $FileName2 = $Path + $FileName
? $FileTime = GETFILETIME($FileName2)
? $FileName
? $FileTime
IF $FileTime >= $DATE AND <= $DATE1
? "richtig"
ELSE
? "falsch"
ENDIF
$FileName = Dir() ; retrieve next file
Loop
? $Falsch
? $richtig
:end
return


Top
#146113 - 2005-08-22 12:12 PM Re: if?????
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Code:
break ON
;DEBUG ON
? " Copyright (C) 2005 by Andreas Werner"
? " "
? " Bitte geben sie dein Path ein in dem sie suchen wollen:"
? gets $Path
if $Path <> ""
$DATE = @date + " 00:00:00"
$DATE1 = @date + " 12:00:00"
$FileName = Dir("$Path")
$FileName2
? $DATE
? $DATE1
WHILE $FileName <> "" and @ERROR = 0
? $FileName2 = $Path + $FileName
? $FileTime = GETFILETIME($FileName2)
? $FileName
? $FileTime
IF $FileTime >= $DATE AND $FileTime <= $DATE1
? "richtig"
ELSE
? "falsch"
ENDIF
$FileName = Dir() ; retrieve next file
Loop
? $Falsch
? $richtig
EndIf
return


Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 611 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.053 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org