Jump to content

Function that returns array problem..


Recommended Posts

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

Any help is much appreciated

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

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

  • Recently Browsing   0 members

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