Re: DO IF Block appears to execute regardless

2014-02-03 Thread Ben Pfaff
lidation. > > Regards > Stuart > > > -Original Message- > From: Ben Pfaff [mailto:b...@cs.stanford.edu] > Sent: Monday, 3 February 2014 5:04 AM > To: Stuart McKenzie > Cc: pspp-users@gnu.org > Subject: Re: DO IF Block appears to execute regardless > >

RE: DO IF Block appears to execute regardless

2014-02-02 Thread Stuart McKenzie
ought that the error was being thrown during execution, not validation. Regards Stuart -Original Message- From: Ben Pfaff [mailto:b...@cs.stanford.edu] Sent: Monday, 3 February 2014 5:04 AM To: Stuart McKenzie Cc: pspp-users@gnu.org Subject: Re: DO IF Block appears to execute regardless

Re: DO IF Block appears to execute regardless

2014-02-02 Thread Ben Pfaff
On Thu, Jan 16, 2014 at 02:49:33PM +1100, Stuart McKenzie wrote: > I have a block of code > > COMPUTE PulseCheck = INDEX(UPCASE(@JobName),"PULSE") > 0. > > DO IF (PulseCheck < 1). > Recode CONT (Convert) into CONT1. > *do other stuff > END IF. > > If I include the line > LIST PulseCh

DO IF Block appears to execute regardless

2014-01-15 Thread Stuart McKenzie
Version: 0.8.1-g0343d5 OS Windows 7 64 bit Hi all I have a block of code COMPUTE PulseCheck = INDEX(UPCASE(@JobName),"PULSE") > 0. DO IF (PulseCheck < 1). Recode CONT (Convert) into CONT1. *do other stuff END IF. If I include the line LIST PulseCheck I see that PulseCheck is be