Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Findrx Problem.
#1

With the code below I keep receiving the error: Error (RT) in Red Wings: array is not created




Macro ( Red Wings )
Code:
Copy      Help
str Src Message url  
ARRAY(str) Game
url.from("http://redwings.nhl.com/")

IntGetFile url Src
Src.setclip
if findrx(Src "<DIV class=teamName></DIV>" 0 0 Game)
,Message.formata("%s %s" "Red wings vs. " Game[1])
,mes Message "Red wings Game" "isa"


Any idea why? I tried removing the [1] from game and then the message will work but I receive the word [null], instead of the team thats playing.
Taking on Quick Macros one day at a time


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)