Line 147 Error (R24) : Using uninitialized variable : nresult
In function calculate() in file:\ring112\projects\SoftanzaLib\stzNumber.ring
called from line 856 In method derivative_sigmoid() in file D:\ring112\projects\SoftanzaLib\stzNumber.ring
called from line 4 in file D:/ring112/projects/SoftanzaLib/stzTempo1.ring
While debugging, I usually try to reconstruct the error message my way, visually like shown in the snapshot attached.
It's a manual effort that takes time, but never mind, I feel happy to perform it. By experience, this helped me not only understand what ha^^ended and resolved the bug, but better understand my program data flow and think of some structural enhancements.
In the future, I'll be working on a library that automates this, and I'll be happy to make it available for the community.
All the best,
mansour
--
---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ring-lang/3d6e8e39-00d9-4d3a-8aef-88c342916d16n%40googlegroups.com.
load "C:\Users\myusername\Downloads\ring\libraries\softanzalib\stzlib.ring"
Look forward to trying this out some more if I can overcome these issues!
Thank you,
ON
To view this discussion on the web visit https://groups.google.com/d/msgid/ring-lang/bd7c50e8-aded-47e7-92d4-c271cde79f17n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ring-lang/d3a5b0b2-8965-4fa0-832b-c260b5ea0f23n%40googlegroups.com.