get

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
get <expression>
Summary

Places the value of an expression in the it variable.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
expression

Any expression that yields a value.

Example
get the colors of button 1
get 2 * 25 * pi -- gets circumference of circle with radius 25
get message -- evaluates expression in message box
get URL "https://www.livecode.com"
RelatedKeyword: it
Command: post, unload, put, libURLSetFTPStopTime, load, set, libURLSetLogField
Function: value, URLEncode
Control Structure: getProp
Glossary: expression, command, variable
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. 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.

Tagsproperties