Hi Ken,

Looks like you are missing a dot in front of a variable.
IF vDCT = ***.***vLCT THEN

Also make sure vDCT and vLCT and vTCT have been predefined. I also put 
an indicator after the fetch: 
FETCH movload into vMOVLC indi vindi

Best regards,
Mike Young

On Thu, 26 Apr 2001 13:04:30 -0700, Ken Godee wrote:

>It's pretty simple stuff usually easy to find what's causing it
>but I too am mystified
>
>WHILE SQLCODE <> 100 THEN
>            IF vDCT = vLCT THEN
>            SET VAR vTCT = (.vTCT + 1)
>            SET VAR vDCT = 0
>            ENDIF
>          SET VAR vDCT = (.vDCT + 1)
>          FETCH movload into vMOVLC
>ENDWHILE
>
>> I'm stuck with an "I>" prompt problem.
>> The program I'm writing has two while statements, one nested and 
>> within the nested while there's an IF Then that compares two vars.
>> It's this IFThen that keeps blowing out to the "I>" prompt.
>> I've ran into the "I>" prompt before, usally it's a syntax problem, well
>> I've tried every variation that I can and still have problems. If I run 
>> the program under "trace/debugger" it runs fine. So you would thing 
>> that using the "SET WHILEOPT OFF" might help but it does not.
>> I've tried using a WHILE instead of a IF THEN but then it blows out 
>> to a "w>" prompt.
>> This happens under dos or win 6.1, if anyone has any ideas it 
>> would be great before I give up and just start the program over.
>> 
>> 
>
>
>
>The Perfect Image Graphics Co.
>2429 W. 12th St.
>Tempe, AZ 85281  
>
>800-533-8732     
>



Reply via email to