HP3000-L Archives

September 1998, Week 5

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:
Friedrich Harasleben <[log in to unmask]>
Reply To:
Friedrich Harasleben <[log in to unmask]>
Date:
Tue, 29 Sep 1998 14:55:43 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
Dear Listers

I know this is not realy MPE - but every now and then I saw a POWERHOUSE
question on the list, so I dare ...

I am not a great expert on the bit/byte level of data storage. For
special reasons I need a packed value in a Powerhouse program and tried
to do the following (simulated in QUIZ) :

> access kundlist-d
> def q% num = 22,23
> def t num = 237,50
> def n1 num = t * q%
> def p1 packed size 6 = t * q%
> def p2 packed size 6 = n1
>
>  report n1 out 5 pic "^^^^^^^^^^^" p1 out 5 pic "^^^^^^^^^^^" &
>          p2 out 5 pic "^^^^^^^^^^^"
>
> go

29.09.98                         OEKV-DATENBANK
PAGE 1

N1                  P1                  P2

527962500    527900000    527900000

My question now is: where did the rest go, when transferring the data
from N1 to P1.

Any suggestions are highly appreciated,

TIA
Friedrich

ATOM RSS1 RSS2