HP3000-L Archives

May 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gavin Scott <[log in to unmask]>
Reply To:
Gavin Scott <[log in to unmask]>
Date:
Mon, 15 May 2000 17:32:47 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Ted wrote:
> Thus it was written in the epistle of Bruce Toback,
> > Larry Barnes writes:
> >
> > >Can anyone tell me what the following line of basic code means?
> > >
> > >COM LONG C1,C2,C3,S1[300]
> > >
> > >I'm dealing with the variable C1 it's used in defining the size of a
> > >disc file in a build statement.
> >
> > It means that C1 is a 32-bit integer (LONG) that's shared among
> > subprograms that call each other using INVOKE (COM).
>
> With due respect, I believe it's a long real.

And they're eight bytes (64 bits) long, not 32 bits.

Also they imply that the contents of that field in the file will contain
"Classic" 3000 floating point number, not modern IEEE floating point
numbers, which you might need to know if you're planning on reading the file
with an NM program or on another machine.

G.

ATOM RSS1 RSS2