C0079 Compiler Error
Message text
Invalid date constant.
Explanation
Two of the following statements generate C0079. The ranges for each
part of the date datatype are 1000 to 3000 for the year, 01 to 12 for the
number of the month, and 01 to 31 for the day. In the first statement,
both the month and day are out of range. In the third statement, there was
no February 29 in the year 1900, but there was one in 2004, so the second
statement compiles successfully:
1 2 3 |
constant date ld_a=1234-34-34 // generates C0079 constant date ld_b=2004-02-29 // ok constant date ld_c=1900-02-29 // generates C0079 |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest