by

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
by
Summary

Used with the divide and multiply commands to specify a number; used with the rotate command to specify how far to rotate; used with the sort and sort container commands to specify the sort key; used with the combine and split commands to specify the delimiters for transforming a variable between an array and a string.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
divide myVariable by 2
rotate image "Calliope" by -45
sort lines of field "Data" by item 2 of each
RelatedCommand: sort, combine, split, rotate, sort container, multiply, divide
Glossary: delimiter, variable, container, keyword, array, command, sort key
Keyword: string, using
Description

Use the by keyword to divide or multiply a container by a number or to specify how to sort.

When used with the combine or split command, the by keyword is a synonym for the using keyword.