This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathget.lcdoc
More file actions
55 lines (36 loc) · 1.32 KB
/
get.lcdoc
File metadata and controls
55 lines (36 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Name: get
Type: command
Syntax: get <expression>
Summary:
Places the <value> of an <expression> in the <it> <variable>.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
get the colors of button 1
Example:
get 2 * 25 * pi -- gets circumference of circle with radius 25
Example:
get message -- evaluates expression in message box
Example:
get URL "https://www.livecode.com"
Parameters:
expression:
Any expression that yields a value.
Description:
Use the <get> command to fetch the value of an <expression>.
The <get> <command> is a shorthand way of writing the following
statement:
put expression into it
> *Note:* When specifying URLs for iOS or Android, you must use the
> appropriate form that conforms to [RFC
> 1738](https://tools.ietf.org/html/rfc1738). Ensure that you
> <URLEncode> any username and password fields appropriately for FTP
> URLs. The Android and iOS engines do not support 'libUrl', which
> would allow characters such as @ in the username.
References: post (command), unload (command), put (command),
libURLSetFTPStopTime (command), load (command), set (command),
libURLSetLogField (command), getProp (control structure),
value (function), URLEncode (function), expression (glossary),
command (glossary), variable (glossary), it (keyword)
Tags: properties