Ä Area: [FIDO] PSION echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Msg#: 7958 Date: 07-28-93 22:06 From: Pete Sipple Read: Yes Replied: No To: Alan Richey Mark: Subj: Programming ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ => Quoting Alan Richey re: Programming <= Hoefully, the following may be helpful... AR> 1. What is the equivalent of dFLOAT,dEDIT,dDATE for ordinary AR> INTEGERS ? You have to convert them first, ie: A$=GEN(integer,10) DINIT DEDIT"","Edit:",A$ DIALOG integer=VAL(A$) AR> 2. Using dDATE returns a long integer representing days since AR> 1/1/1990 How can you do the opposite,and display the number in AR> date format on an ordinary screen. If you were to store the long integer to a variable called A&, which you add to yuor Local/Global statement LOCAL A&,A%,D%,M%,Y% Eg: DDATE A&,"Input Date:","01/01/00","31,12,93" Then to get it back, try... SECSTODATE (A&-25567)*86400,Y%,M%,D%,A%,A%.A%,A% PRINT D%;"/";M%;"/";Y%-1900 GET Please leave me a message if any of this is unclear! Good luck, Pete ... This must be Thursday - I never could get the hang of Thursdays -!- Blue Wave/RA v2.11 [NR] ! Origin: From The Crystal Tower : London (081-4478244) (2:440/25.0)