[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: SUBROUTINES



OK, I will look at your "piece" on Monday. My first reaction is to say, yes,
you must put the entire IF statement in the subroutine. What you might try
doing is to have the IF statement set a variable on or off (1 or 0) depending
on what happens with the IF, and then have the main program check to see if
that variable got set to 1 or 0 outside the subroutine. So in the subroutine
you'd do:
  SU99,≪SX01,0≫