HP3000-L Archives

April 2000, Week 2

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:
Keven Miller <[log in to unmask]>
Reply To:
Keven Miller <[log in to unmask]>
Date:
Wed, 12 Apr 2000 12:42:20 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
I believe you do not want to pass &x1 in the HPFPCONVERT procedures
since it comes in as a pointer.

   {
    float x2;
    short sformat,dformat;
    sformat=1;
    dformat=3;
    HPFPCONVERT( x1,&x2,sformat,dformat);
    printf("parm rec'd = %f\n",x2);
    x2=3.3;
    sformat=3;
    dformat=1;
    HPFPCONVERT(&x2, x1,sformat,dformat);
    return;
   }


+=====================================
 Keven Miller   KC7LYD
 [log in to unmask]   (Salt Lake City, Utah, USA)
+=====================================

ATOM RSS1 RSS2