Jump to content

Recommended Posts

Posted

Hi ppl, im new on autoit and programming and I have some silly questions for you.

Well i created a function that collects and returns an array with all links that found inside a website..

How can I use this array outside the function.. what am I missing.. ?

This script is an example, not the actual script..

#Include <Array.au3>
#Include <FF.au3>

$outsideofFunctionArray = _collectlinks()    ;Heres my problem..

Func _collectlinks()
if _FFIsConnected() Then
$array = _FFLinksGetALL()
return $array
endfunc

Any help is much appreciated

Excuse my language since english is not my native language..

Posted

omg! Thnq for your quick replies. I really appreciate it !!!!

Problem solved.. Another mistake i was doing is that i declared the array inside the function as local.. :D

Again, thanx a lot guys!!

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
  • Recently Browsing   0 members

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