as

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
as
Summary

Used with the do command to specify a scripting language; used with the export command to specify the file format to export to; used with the go command to specify the mode of a stack; used with the save command to specify the file name and location.

Introduced1.0
OSmac, windows, linux, ios, android, web
Platformsdesktop, server, mobile
Example
do field 1 as "Javascript"
export image "image" to file myFile as PNG
go stack "Controls" as palette
save this stack as "../Backups/Current.rev"
RelatedKeyword: file
Glossary: keyword, file path, command, Mac OS, OS X
Command: export, go, do, save, do as alternateLanguage
Object: stack
Function: format, alternateLanguages
Control Structure: function
Description

Use the as keyword to modify the do, export, go, or save commands.

Use the alternateLanguages function to find out which languages can be used with the do as alternateLanguage command on Mac OS and OS X systems.