Article View: comp.lang.oberon
Article #832Oberon/F: Bug in ObxAscii
From: William Miller
Date: Wed, 24 Jan 1996 04:49
Date: Wed, 24 Jan 1996 04:49
11 lines
917 bytes
917 bytes
There is an apparent bug in the example code for "ObxAscii" published in
the December issue of --The Oberon Tribune--.
In procedure "Register", the line reading:
IF loc.res = 0 THEN v := TextViews.dir.New(t.scan.rider.Base());
should have:
"t.form.rider" instead of "t.scan.rider".
I obtained the source code from the Web pages of Oberon microsystems.
When I tried a test program with the original code, it aborted on the
above line with:
"NIL dereference (read)"
After making the above change, my test program worked.
Technical Details
Message-ID:
<4e4dpa$cri@usenetw1.news.prodigy.com>Path:
arc1-ca.pugleaf.net!prodigy.com!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!prodigy.com!usenet From: TNJZ73A@prodigy.com (William Miller) Newsgroups: comp.lang.oberon Subject: Oberon/F: Bug in ObxAscii Date: 24 Jan 1996 04:49:46 GMT Organization: Prodigy Services Company 1-800-PRODIGY Distribution: world Message-ID: <4e4dpa$cri@usenetw1.news.prodigy.com> NNTP-Posting-Host: inugap2.news.prodigy.com X-Newsreader: Version 1.2