-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LogixNG help phase 2 #9859
LogixNG help phase 2 #9859
Conversation
Thanks for the PR. It includes changes to properties files, so the 'Needs L10N' label has been added" |
This PR includes files in the help hierarchy so the 'Documentation' label has been added. Other labels may also be applied." |
Codecov Report
@@ Coverage Diff @@
## master #9859 +/- ##
===========================================
- Coverage 51.8% 51.8% -0.0%
- Complexity 64081 64110 +29
===========================================
Files 5098 5099 +1
Lines 445047 445235 +188
Branches 64285 64336 +51
===========================================
+ Hits 230232 230253 +21
- Misses 192076 192229 +153
- Partials 22739 22753 +14
Continue to review full report at Codecov.
|
This PR is ready for review and merge. |
I have decided to include the module and table chapters in this PR. |
<p> | ||
|
||
<p> | ||
<a href="chapter1.shtml">Chapter 1 - A simple LogixNG</a> | ||
<!-- <a href="chapter1.shtml">Chapter 1 - A simple LogixNG</a> --> | ||
<p> | ||
<a href="chapter2.html">Chapter 2 - The clipboard</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this line should also be commented out? Chapter 2 about the clipboard is in the section "Standard features" above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the content in index.shtml will be removed in phase 3. The redundant content will be dropped and the useful content moved to the proper chapters or archived for future chapters.
|
||
<h2>Modules</h2> | ||
|
||
<p>A module is a special ConditionalNG which is invoked from regular ConditionalNGs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A module is a special ConditionalNG which is invoked from regular ConditionalNGs or modules.
@dsand47 It's probably rare to use a module to call a module, but it's possible. Even recursion is possible, that the module calls itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have already used a module calling a module.
</div> | ||
|
||
<p>This is a digital action socket. This can be used to create an action only module or | ||
complex modules withe any combination of expressions and actions, such as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
complex modules withe any combination
Misspelling of withe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That word is in the dictionary, but fixed anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I apologize. English is not my native language.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need to apologize. I was wondering why spell check did not catch it since I had never seen the word before.
|
||
<p>This is a digital action socket. This can be used to create an action only module or | ||
complex modules withe any combination of expressions and actions, such as | ||
<strong>if then else</strong> structures. These can have inputs and outputs.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I first read this sentense, I got the feeling that the sentense These can have inputs and outputs
is related to a digital action socket module. I suggest that you put this sentence in it's own paragraph, since digital expressions can have inputs and outputs as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can a digital expression return a value as well as true/false?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I might not have tested that, but in this regard there should be no difference between digital action modules and digital expression modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think of Java. You could have a method:
boolean isValid(Object a, List<String> errors);
which checks if a
is valid in some sense, and if not, returns false and adds the error messages in the list errors
.
I have decided it is time to merge this. It has a fix for the missing sidebars. It has a partial chapter 11. The rest will be in phase 3 after we decide about the table cell indexing. Will it be zero based or one based, will the sys/user name row be removed.? |
I will merge it as soon as CI has passed.
I will keep it zero based but remove system and user names. I'm currently adding a new action, ActionListenOnBeansTable. That action listens to the beans in a table column or row. By combining ActionListenOnBeansTable and TableForEach, you can solve the problem Don Weigt wrote about in the thread Masking off control panel hardware to enable or disable it. |
Restart Windows CI, unrelated errors in Layout Editor components. |
Restart Windows CI:
|
This is now done in PR #9873. |
No description provided.