Put URL... the result = 1

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Put URL... the result = 1

Post by Simon » Fri Jan 22, 2010 3:33 pm

Hello,
After using a put url command I get a result of 1.

Code: Select all

put URL myurl into theData
answer the result
Returns the number 1.

Any ideas on what this means?

Thanks,
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Put URL... the result = 1

Post by BvG » Fri Jan 22, 2010 5:39 pm

It depends on what the URL actually is. try this instead, for additional information:

Code: Select all

put URL myurl into theData
answer myurl & return &  the result & return & it & return & line 1 of theData 
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply