Download XPert Basic SLL User Manual

Transcript
CurDir Function
Syntax:
result = CurDir
Returns the current directory.
Example:
ChDir CurDir & "Speech"
Date Function
Syntax:
result = Date
Returns the current date.
Example:
If Month(Date) = 12 Then StatusMsg "It's december"
Date Statement
Syntax:
Date=variable
Sets the current Date
Example:
Date = DateSerial(Y, M, D)
DateSerial Function
Syntax:
result = DateSerial(Y,M,D)
Returns a Date (the earliest supported date is Jan 1 1970, and the latest supported date is Jan 18
2038).
Example:
NextYear = DateSerial(Year(Date)+1, 1, 1)
Day Function
Syntax:
result = Day(date)
Returns the day of the month contained in date.
Example:
If Day(Date)=31 Then StatusMsg "It's the end of the month"
75