Difference between revisions of "GETURL()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
{{YLM to do}}
+
==Purpose==
 +
Function to return a URL as text
  
URL function
+
 
character = geturl( url as character [, timeout as numeric] )
+
==Syntax==
 +
GETURL(<expC> [, <expN>])
 +
 
 +
 
 +
==See Also==
 +
[[AT()]], [[ATNEXT()]], [[FCLOSE()]], [[FCREATE()]], [[FERROR()]], [[FGETS()]], [[FILETOSTR()]], [[FOPEN()]], [[FPUTS()]], [[FREAD()]], [[FREADSTR()]], [[FWRITE()]], [[MEMOREAD()]], [[MEMOWRITE()]], [[SUBSTR()]], [[STUFF()]], [[STR()]], [[STREXTRACT()]], [[STRTOFILE()]], [[STRTRAN()]], [[STRZERO()]], [[TEXTEDIT()]], [[TRIM()]]
 +
 
 +
 
 +
==Description==
 +
The GETURL() function reads the specified URL, <expC>, and returns its contents as text.  The optional <expN> parameter allows a timeout in seconds to be set.
 +
 
 +
 
 +
 
 +
==Example==
 +
<code lang="recital">
 +
? geturl("http://twitter.com/recitalsoftware",60)
 +
</code>
 +
 
 +
 
 +
==Products==
 +
Recital Web, Recital Server, Recital
 +
[[Category:Documentation]]
 +
[[Category:Functions]]

Revision as of 14:02, 16 February 2010

Purpose

Function to return a URL as text


Syntax

GETURL(<expC> [, <expN>])


See Also

AT(), ATNEXT(), FCLOSE(), FCREATE(), FERROR(), FGETS(), FILETOSTR(), FOPEN(), FPUTS(), FREAD(), FREADSTR(), FWRITE(), MEMOREAD(), MEMOWRITE(), SUBSTR(), STUFF(), STR(), STREXTRACT(), STRTOFILE(), STRTRAN(), STRZERO(), TEXTEDIT(), TRIM()


Description

The GETURL() function reads the specified URL, <expC>, and returns its contents as text. The optional <expN> parameter allows a timeout in seconds to be set.


Example

? geturl("http://twitter.com/recitalsoftware",60)


Products

Recital Web, Recital Server, Recital