jacky998877 Posted September 23, 2022 Posted September 23, 2022 #Include "network.au3" #Include <array.au3> ; $infos = _GetNetworkAdapterList() _ArrayDisplay($infos) _ArrayColDelete($infos,0) _ArrayDisplay($infos)
Subz Posted September 23, 2022 Posted September 23, 2022 Even if you delete a column in a 2d Array you still need to reference it using $infos[0][0] to get the first line item, you could also just use $infos[0][1] without deleting the first column, I'm assuming that the 2d Array only has two columns to start with.
jacky998877 Posted September 23, 2022 Author Posted September 23, 2022 19 minutes ago, Subz said: Even if you delete a column in a 2d Array you still need to reference it using $infos[0][0] to get the first line item, you could also just use $infos[0][1] without deleting the first column, I'm assuming that the 2d Array only has two columns to start with. it worked , thank u 😊
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now