Article View: sbcs.cse114
Article #2pascal trouble
From: David Tiberio
Date: Sun, 12 Apr 1992 01:14
Date: Sun, 12 Apr 1992 01:14
22 lines
1462 bytes
1462 bytes
I am doing a sort routine for my database. Unfortunately,
all of the empty cells are being placed first in the record
while all of my real data is at the end. I have thought of ways
of living with this, but would rather get those blank cells at the
end.
I have tried making a null string, and checking if each
name in the record is greater or lower, but it is finding that all
of them are lower, which doesn't help. I even changed the null to a
real name and it still didn't work; it just erased my data up until
that point.
What is the best way to set a name to a null? I have a string
of 50 characters. The only easy way I have thought of is to change
the name to all z's. Is there another way to do this? maybe a higher
ascii code?
--
// David Tiberio SUNY Stony Brook 2-3662 AMIGA DDD-MEN
// Not the llama! Come here Earl; I want to tell you something...
\X/ Liverpool, New York flames to suggestions@cbmvax.commodore.com
Technical Details
Message-ID:
<1992Apr12.011409.26898@sbcs.sunysb.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rutgers!cmcl2!sbcs.sunysb.edu!csws7.ic.sunysb.edu!dtiberioShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rutgers!cmcl2!sbcs.sunysb.edu!csws7.ic.sunysb.edu!dtiberio From: dtiberio@csws7.ic.sunysb.edu (David Tiberio) Newsgroups: sbcs.cse114,comp.lang.pascal Subject: pascal trouble Message-ID: <1992Apr12.011409.26898@sbcs.sunysb.edu> Date: 12 Apr 92 01:14:09 GMT Sender: usenet@sbcs.sunysb.edu (Usenet poster) Distribution: na Organization: State University of New York at Stony Brook Lines: 22 Nntp-Posting-Host: csws7.ic.sunysb.edu