>>>>>typedef struct hdate_t { >>>>> WORD day; >>>>> WORD month; >>>>> WORD year; >>>>>} HDATE_T; >>>>> >>>>>typedef struct reading_t { >>>>> int reading1; >>>>> int reading2; >>>>> int special; >>>>>} READING_T; >>>>> >>>>>KDATE_API HDATE_T CivilToHebrew(int day, int month, int year); >>>>>KDATE_API READING_T GetReading(HDATE_T hd, int diaspora); >>>>>>>>>>Thanks!
>>>>DECLARE STRING GetReading IN ..... STRING @hd, INTEGER dspr >>>> >>>> >>>>hd = REPLICATE(CHR(0),3*16) && Word has 16 bytes >>>>lcRes = GetReading(@hd, 0) >>>>? lcRes >>>>>>>>The you should convert lcRes from string to 3 integers.
>>DECLARE STRING CivilToHebrew IN ..... INTEGER nDay, integer nMonth, integer nYear >>DECLARE STRING GetReading IN ..... STRING hd, INTEGER dspr >> >>lcRes = GetReading(CivilToHebrew(........), 0) >>? lcRes >>>