Skip to content

Commit 4b65b30

Browse files
Merge pull request livecode#7162 from livecodesam/bugfix-20303
[Bugfix-20303] Add variable example to URL entry
2 parents e041a47 + 7db031c commit 4b65b30

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

docs/dictionary/keyword/URL.lcdoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ Example:
2626
post field "Results" to URL "http://www.example.org/current.txt"
2727

2828
Example:
29-
get URL "http://www.xworlds.com/index.html"
29+
local tURL
30+
put "http://www.xworlds.com/index.html" into tURL
31+
get URL tURL
3032

3133
Example:
3234
put "Hello World" into URL "file:/Users/myuser/Documents/sample.txt"

docs/notes/bugfix-20303.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Added example to the URL keyword entry to demonstrate how it is used with variables.

0 commit comments

Comments
 (0)