Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

21
LINES

< > BotCompany Repo | #1033775 // Gazelle 22 "Linear Script" Help

Document

1  
Gazelle 22 "Linear Script"
2  
--------------------------
3  
4  
"Linear script" is one of Gazelle 22's two scripting languages. It is the simpler (and older) one of the two with limited use.
5  
6  
-You just write one line
7  
-Separate commands with spaces
8  
-The language is case-insensitive
9  
-You can add comments like in Java with /* */ or //
10  
11  
Commands are:
12  
13  
1p, 2p etc: Scale image down to x pixels
14  
1c, 2c, ..., 256c: Reduce gray scale levels
15  
1w, 2w etc: Scale image width only to x pixels
16  
struct: show object structure
17  
niceStruct: show object structure indented
18  
rasters: reproduce horizontal bars
19  
className: show type of object on stack
20  
q1...q4: select quadrant
21  
original: show input image in color

download  show line numbers   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1033775
Snippet name: Gazelle 22 "Linear Script" Help
Eternal ID of this version: #1033775/3
Text MD5: f1be624961e48ff0c6c82c64eda4c318
Author: stefan
Category: javax / gazelle v
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-18 15:07:44
Source code size: 703 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 60 / 268
Version history: 2 change(s)
Referenced in: [show references]