Jump to content

On one pc but not the other.


Recommended Posts

That can't be your entire script. There is probably a DllCall or StringSplit or similar before that line, simply add @error checking or an IsArray() test before trying to access $result as an array. Post your whole script if you want more specific help.

Link to comment
Share on other sites

Simply put: on your laptop, what should return an array ($result) is not returning one.

The fact that both your machines have the same OS has little relevance if you are trying to read something specific to one of them and not the other. I can't be more specific but consider the following case: you try to read the files from a folder; the folder exists on your desktop but not on your laptop. ... or any other similar case.

You need to debug your script, use MsgBox, ConsoleWrite, _arrayDisplay ... whatever suits you.

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...