This is a discussion on Re: Informix 4GL and dates within the Informix forums, part of the Database Server Software category; --> Mike Aubury wrote: > I'm trying to test a bug report for Aubit4GL - can someone with Informix 4GL ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Mike Aubury wrote: > I'm trying to test a bug report for Aubit4GL - can someone with Informix 4GL > try this code : > > > main > define xdate date > let xdate="31/31/31" > display xdate > end main > > > Does it error out - or just display xdate as being null (ie blank) and not > say anything? Using 4GL-RDS version 7.30.UC1, it displays as a blank. Or to be more accurate, it displays spaces for each character of the DBDATE format. So with DBDATE=DMY4/, it displays 10 spaces, and with DBDATE=DMY2/, it displays 8 spaces. 4J's DVM version 3.53 does the same. Using: MAIN DEFINE xdate DATE LET xdate="31/31/31" DISPLAY "'", xdate, "'" DISPLAY "'123456789x" END MAIN Cheers, -- Mark. +----------------------------------------------------------+-----------+ | Mark D. Stock mailto:mdstock@MydasSolutions.com |//////// /| | Mydas Solutions Ltd http://MydasSolutions.com |///// / //| | +-----------------------------------+//// / ///| | |We value your comments, which have |/// / ////| | |been recorded and automatically |// / /////| | |emailed back to us for our records.|/ ////////| +----------------------+-----------------------------------+-----------+ sending to informix-list |