retrieve issue?

19 views
Skip to first unread message

Michael Grube

unread,
Feb 7, 2012, 2:30:55 PM2/7/12
to last...@googlegroups.com
I'm not sure, I may be doing this wrong, but a simple example produced some wild output for me. I was trying to grab the title from the Reddit homepage, but the output produced many parens for me followed by the URL of the last site I had retrieved.


retrieveissue.JPG

Ian Clarke

unread,
Feb 7, 2012, 3:00:23 PM2/7/12
to last...@googlegroups.com
Ooh, that's weird, I need better error detection and reporting.

Your problem there is that the variable "Reddit" is capitalized, which indicates that it is a function parameter, not a variable.  You've basically defined a function which takes a single parameter called "Reddit".

If you rename "Reddit" to "reddit" everywhere you use it, your example should work correctly.

I will work on error reporting and suggestions that will do a better job of detecting this type of error and providing sensible feedback to the ser.

Ian.

On Tue, Feb 7, 2012 at 1:30 PM, Michael Grube <michae...@gmail.com> wrote:
I'm not sure, I may be doing this wrong, but a simple example produced some wild output for me. I was trying to grab the title from the Reddit homepage, but the output produced many parens for me followed by the URL of the last site I had retrieved.



--
You received this message because you are subscribed to the LastCalc Group
http://groups.google.com/group/lastcalc?hl=en?hl=en



--
Ian Clarke
Reply all
Reply to author
Forward
0 new messages