Jump to content
Sign in to follow this  
tommytx

How to read data out of an array using FF.

Recommended Posts

tommytx

The image shows the rusult of the FF Program.. 

http://screencast.com/t/68xCNDkiFiDz

It appears to have0-6 which would be 7 levels.. how can I read this data in the program below..

I really just need the first one.. but nothing is working.. I show item1 and item2 but neither work..

Thanks for any help

_FFStart("http://vahud.com")

If _FFIsConnected() Then
    $aLinks = _FFLinksGetAll()
    ; _ArrayDisplay($aLinks)
 EndIf

_ArrayDisplay($aLinks)

$i = 2 ; or any number

ITEM 1 -> ConsoleWrite($aLinks[$i] & @CRLF)

ITEM 2 -> ConsoleWrite($aLinks[$i][1][1][1][1][1][1] & @CRLF)
Edited by tommytx

Share this post


Link to post
Share on other sites
Danyfirex

ConsoleWrite("item 1: " & $aLinks[0][0] & @CRLF)
ConsoleWrite("item 2: " & $aLinks[1][0] & @CRLF)

Read about arrays.

saludos

Share this post


Link to post
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
Sign in to follow this  

×