HP3000-L Archives

November 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:
Russ Smith <[log in to unmask]>
Reply To:
Russ Smith <[log in to unmask]>
Date:
Fri, 17 Nov 2000 14:34:16 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Does anyone have or know of a program/process/command file to quickly
convert back and forth between integer values and the string version of
their bit equivalent?

For example:

    XEQ INT2BIT 14
    returns    00001110

    SETVAR INBIT;"00001110"
    XEQ BIT2INT !INBIT
    returns    14

Okay, the second one is a piece of cake, but how about the first?


Thanks in advance,
Rs~


Russ Smith, Systems Consultant
Problem Solved, Vacaville, CA
r s m i t h @ c u - h e l p . c o m
h p 3 k - l @ e - 3 0 0 0 . n e t

ATOM RSS1 RSS2