🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #1467

SET SKIP in OLH

#1467
From: Neal Steven Garber
Date: Wed, 07 Jan 1998 00:00
24 lines
1345 bytes
Shouldn't the code in the OODML section read:

function next( nArg )
  if PCount() = 0                    // nArg passed?  (Added - not in OLH)
     nArg = 1                           // No, initialize to +1 (Added - not
in OLH)
  endif                                    // (Added - not in OLH)
  if not rowset::next( nArg )               // Navigate as far as specified,
but
                                            //   if end of detail rowset
    this.masterRowset.next( sign( nArg ) )  // Move forward or backward in
master
    if nArg < 0                             // If navigating backwards
      this.last()                           // Go to last matching detail
row
    endif
  endif

Without the test for no arguments passed, I get a runtime error "Expecting
Numeric" on the "if not rowset:next(nArg)" line...  If so, perhaps this
change can make it into the next revision of the OLH..

Neal
Technical Details
Message-ID: <691edi$5mu6@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,e17330172ee29fa,start
X-Google-Attributes: gidff5a1,public
From: "Neal Steven Garber" <IHateJunkMail@NoSpam.Net>
Subject: SET SKIP in OLH
Date: 1998/01/07
Message-ID: <691edi$5mu6@forums.borland.com>
X-Deja-AN: 313816484
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: None
Newsgroups: borland.public.vdbase.data.sql