Error getting tags :
error 404Error getting tags :
error 404 it | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
it
Basics
Expander triangle
Type
Keyword
Syntax
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
A special local variable that is used with commands such as get, read from file, convert, ask, and answer.
Examples

get the date
put it into field "Date"

Additional Comments
Expander triangle

Use the it keyword to get the result of certain commands, or as a handy temporary storage place.

Comments:

The it keyword designates a special local variable. It can be used like any other local variable: you can put a value into it, or put it into another container.

The commands that use the it variable are: answer, answer color, answer effect, answer file, answer folder, ask, ask file, ask password, clone, convert, copy, create, get, paste, post, read from driver, read from file, read from process, read from socket, request, and request appleEvent.

Unlike other local variables, it can change even if you don't explicitly change its value. Certain commands use it to store their result. Therefore, if you need to use the value of it, make sure none of these commands is executed between the time you set it and the time you read its value. If you need to save the value of it for later use, store it in another variable:

put it into savedFilePath

User Comments
Expander triangle