Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Commit e9aa1b6

Browse filesBrowse files
authored
[[ Documentation ]] Add references between scriptOnly property and script only stack glossary
Reference "script only stack" from the "scriptOnly" dictionary entry and vice versa. The "script only stack" glossary entry is the only place where the behavior syntax is explicitly explained. This patch allows the "scriptOnly" entry to access that entry as well.
1 parent 08d3e86 commit e9aa1b6
Copy full SHA for e9aa1b6

File tree

Expand file treeCollapse file tree

2 files changed

+6
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-2
lines changed

‎docs/dictionary/property/scriptOnly.lcdoc

Copy file name to clipboardExpand all lines: docs/dictionary/property/scriptOnly.lcdoc
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Stack:
4848
The name or ID of the stack.
4949

5050
Description:
51+
A <script only stack> is a stack whose <scriptOnly> property is true.
5152
A <scriptOnly> stack will save just the script with a single header line
5253
declaring the stack name. If the stack has a <stack> <behavior>, the
5354
name of the behavior stack is also saved to the header line. Any other
@@ -70,7 +71,7 @@ examining the file itself.
7071
set the scriptOnly of stack "Secrets" to false
7172
set the password of stack "Secrets" to field "Password"
7273

73-
References:create stack (command), stack (object), behavior (property)
74+
References:create stack (command), stack (object), behavior (property), script only stack (glossary)
7475

7576
Tags: objects
7677

‎docs/glossary/s/script-only-stack.lcdoc

Copy file name to clipboardExpand all lines: docs/glossary/s/script-only-stack.lcdoc
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ and, optionally with a <behavior> <stack> reference:
1313
script "StackName" with behavior "BehaviorName"
1414

1515
Anything else in the file is the <script> of the <script only stack>.
16+
If a stack is script only, its <scriptOnly> property will return true:
17+
18+
if the scriptOnly of stack "StackName" is true then...
1619

1720
References: text file (glossary), stack (glossary), script (property),
18-
behavior (property)
21+
behavior (property), scriptOnly (property)
1922

2023
Tags: objects
2124

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.