Page 1 of 1

ToIP(GetHostName()) - could be a bug ?

Posted: Fri Sep 15, 2017 8:57 am
by peceha
during some experiments :D I found out that:

Code: Select all

prints IP address


Code: Select all

prints IP address + some more info (table details)

Is it a bug?

Re: ToIP(GetHostName()) - could be a bug ?

Posted: Mon Sep 18, 2017 4:50 pm
by airsoftsoftwair
It's not a bug but rather an undocumented feature. ToIP() and ToHostname() both return a table with some additional infos in the second return value. I don't remember if this was deliberately kept undocumented or not so I'll just leave it as it is right now...