D 2002-03-23T13:01:38
J icomment Logged\sIn:\sYES\s\nuser_id=209568\n\nNevermind\sabout\sthe\sbatch\sfile.\sThe\soutput\sis\scorrect.\n"if\serrorlevel\sN"\swill\sbe\strue\sif\sthe\sexit\scode\sis\sgreater\s\nthan\sor\sequal\sto\sN.\n\nI\swrote\sa\slittle\sapp\s(A)\sthat\swould\sreturn\sthe\sexit\scode\s\nand\stried\sit\sout\swith\snmake\sand\shad\sthe\ssame\sproblem--\s\nnmake\swould\salways\sget\s0.\sI\sthen\stried\s(B)\sand\sit\sworked.\s\nIn\sboth\ssituations\sthe\sbatch\sfile\stest\swould\sgive\sme\sthe\s\nsame\soutput.\sI\sguess\sfind\sis\sjust\sreturning\sthe\scode\s\ninstead\sof\scalling\sexit().\n\nA:\sint\smain\s()\s{return\s1;}\nB:\sint\smain\s()\s{exit\s(1);}\n\nMark\sFollett\n
J login mefy
J mimetype text/plain
J username mefy
K 533862ffffffffffffffffffffffffffffffffff
U mefy
Z 9b46684f21d6dd64a658d01d0267d61e