🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: src.ada
Article #4

sequential io with multiple types

#4
From: Matt Englehart
Date: Fri, 16 Oct 1992 02:37
13 lines
1159 bytes
Along the same lines as my previous question, suppose that I have a file
with short_floats and integers written out in binary format (by a fortran
program, as real*4 and integer*4).  If I instantiate SEQUENTIA_IO with type 
integer, and read all data as an integer, how do I convert data that is not
an integer from the integer value read in to the true short_float
representation?

Thanks, Matt

Matthew J. Englehart                      Voice: (612)-951-7635
Honeywell Systems and Research Center     FAX:   (612)-951-7438
3660 Technology Dr.   MS:MN65-2500        Inet: englehar@src.honeywell.com
Minneapolis, MN 55418
Technical Details
Message-ID: <9210160237.AA26805@akela.src.honeywell.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!uwm.edu!src.honeywell.com!mail-enters-news

Show Full Headers
Complete Article Headers
Newsgroups: src.ada,comp.lang.ada
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!uwm.edu!src.honeywell.com!mail-enters-news
From: englehar@src.honeywell.com (Matt Englehart)
Subject: sequential io with multiple types
To: src.ada, comp.lang.ada
Message-ID: <9210160237.AA26805@akela.src.honeywell.com>
Posted-Date: Thu, 15 Oct 92 21: 37:23 CDT
Sender: jkimball@src.honeywell.com (John Kimball)
Organization: Honeywell Systems & Research Center
Date: Fri, 16 Oct 1992 02:37:23 GMT
Received-Date: Thu, 15 Oct 92 21: 37:01 CDT
Lines: 14