• Subject: Re: Retrieve IP Address using Telnet exit point
  • From: "Robin Sapiro" <robin.sapiro@xxxxxxxx>
  • Date: Sat, 17 Jul 1999 18:48:11 -0400

In a CL program, try using the %bin function on the CHGVAR command
processing 1 character at a time.


----- Original Message -----
From: Evan Harris <spanner@ihug.co.nz>
To: <MIDRANGE-L@midrange.com>
Sent: Friday, July 16, 1999 11:01 PM
Subject: Re: Retrieve IP Address using Telnet exit point


> Leif,
>
> thanks for the reply, but, <shuffles feet under the desk> err.... how do I
> convert the hex code to a decimal number ? Or, to put it another way, is
> there a simple way of doing this ?
>
> At 18:09 16/07/99 -0500, you wrote:
> >each field is a two-character hex code.
> >convert that to a decimal number with no leading zeroes (except if
> >the whole number is zero).
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].