int4

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
int4
Synonymsint4s
Summary

Used with the read from file, read from process, and read from socket commands to signify a chunk of binary data the size of a signed 4-byte integer.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
read from process "AppleScripts/Get Info" for 1 int4
RelatedCommand: read from socket, read from process, write to driver, read from file
Glossary: keyword, binary file, command, chunk
Keyword: integer
Description

Use the int4 keyword to read data from a binary file.

If you specify int4 as the chunk type in a read from file, read from process, or read from socket command, the data is returned as a series of numbers separated by commas, one for each signed integer read.

Tagstext processing