I think I've posted this before, but it's related to the function following it:
--Dave
-------------
PowerBASIC Support
mailto:[email protected][email protected]</A>
Code:
' Convert a long integer representing an IP address to a displayable string ' FUNCTION IpToString(BYVAL ip AS LONG) AS STRING LOCAL b AS BYTE PTR b = VARPTR(ip) FUNCTION = FORMAT$(@b[0]) & "." & FORMAT$(@b[1]) & "." & _ FORMAT$(@b[2]) & "." & FORMAT$(@b[3]) END FUNCTION
-------------
PowerBASIC Support
mailto:[email protected][email protected]</A>
Comment