Windows7Ultimate64 bit Clarion 6.3_9056 NT545
NettalkCode.txt is a snippet of my code.
In it the lines:
CASE p_web.GSV('APP:Gender')
OF 'Male'
p_web.SSV('APP:Sex',0)
ELSE
p_web.SSV('APP:Sex',1)
END
CASE p_web.GSV('APP:Smoker')
OF 'Yes'
p_web.SSV('APP:SmokerIndicator',1)
ELSE
p_web.SSV('APP:SmokerIndicator',0)
END
are intended to set the APP:Sex and APP:SmokerIndicator session variables which are then used as parameters to a calculate function
The calculate.txt file as a dbgview log file
From the log file the value of APP:gender is 'Female' therefore I would expect the value of APP:Sex to be 1
The value Of APP:Smoker is Yes and I would therefore expect the value of SmokerIndicator to be 1
This isn't the case.
I would appreciate anyone showing what I am doing incorrectly.
Thanks
[attachment deleted by admin]