You are here:
DBG/400
>
DBG400 Web
>
SourceCodeList
>
CmdSource
>
CmdRTNIPADDR
(24 Jun 2005,
MartinRowe
)
(raw view)
E
dit
A
ttach
<verbatim> /******************************************************************************/ /* Copyright (c) Tom Liotta http://zap.to/tl400 Used with permission */ /******************************************************************************/ /* RTNIPADDR: Return the IP address for a device. */ /* Enter a device name to return a variable containing the IP */ /* address the device is communicating from. */ /* */ /* Parms: */ /* In: DEVD : *NAME Len(10) */ /* Out: IPADDR: *CHAR Len(15) */ /* */ /* Form: */ /* RTNIPADDR DEVD(&devd) IPADDR(&ipaddr) */ /* */ RTNIPADDR: CMD PROMPT('Return device IP address') PARM KWD(DEVD) TYPE(*NAME) LEN(10) DFT(*) + SPCVAL((*)) MIN(0) EXPR(*YES) + PROMPT('Device') PARM KWD(IPADDR) TYPE(*CHAR) LEN(15) RTNVAL(*YES) + PROMPT('IP address (15)') </verbatim> -- Main.MartinRowe - 24 Jun 2005
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 24 Jun 2005 - 20:35:23 -
MartinRowe
DBG400
Log In
DBG400 Web
Index
Search
Changes
Notifications
Statistics
Site Map
Downloads
Webs
DBG400
Jamaro
Main
Sandbox
Sandtub
System
Send a link to this page
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding DBG/400?
Send feedback