Hi everyone!
I have a small demo which categorize the contents of the leaf (such as apple, apricot leaf, etc) ... low, medium high
Case Round(StringToNumber(edit6.Text)*100) of
2000..3000: N_res.text:='low';
End;
case Round(StringToNumber(edit6.Text)*100) of
3001..4000: N_res.text:='medium';
End;
if Nlab>40.01 then N_res.text:='high';
The categories (low, medium, high) unfortunately changes many times (every day:(). I put some Edit on the form where we can give (we can specify) the values (low: 20-30, medium: n1-n2, high<n)
Does anyone know how can I change code
2000..3000: N_res.text:='low'
to calculate based on what I type (what values) into edit? (categorize based on what I type edits)
I attached demo
Thank you