On Date: 06-18-97 (05:53) EDWARD RUTLEDGE Wrote
On Subj: PASSING SWITCHES TO PROGR
ER> On 06-13-97 VIRGIL GARNESS wrote to ALL...
ER> This program does exactly what you want to do. I will include the
ER> entire program although you will undoubtedly want to do something
ER> totally different. I hope that this helps.
ER> Ed
Oh goodie a Gregorian to Julian program.
I'm always looking to collect these.
ER> /* zztst-x9.cpp
ER> Convert Gregorian to Julian
ER> Has some improved fail-safe functions.
[ Deleteted many lines ]
ER> for ( int running = startx + 1; running <= endx; running ++ )
ER> temp2 += Days_in_year ( running );
ER> temp1 = ( ( end % 1000 ) - ( start % 1000 ) );
ER> if ( ( end / 1000 ) > ( start / 1000 ) )
ER> return temp1 + temp2;
ER> else
ER> return temp1 - temp2;
ER> }
ER>
Frown.... Pout.....
Could you split this program into say 200-line messages and send it
again. Make me happy.
---
* QMPro 1.53 * steven read pcohio com
--- InterEcho 1.19
---------------
* Origin: PC-Ohio PCBoard * Cleveland, OH * 216-381-3320 (1:157/200)
|