Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit f2e6b48

Browse files
Merge pull request #7170 from livecodesam/bugfix-19377
[Bugfix-19377] Edit version comparison example to work beyond LC 9
2 parents 6984ad1 + be64c73 commit f2e6b48

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/dictionary/function/version.lcdoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ Example:
1919
put the version into field "Version" of me
2020

2121
Example:
22-
if item 1 of the version < 3 then
23-
answer "Not all features will be available"
22+
set the itemDelimiter to "."
23+
if item 1 of the version < 8 then
24+
answer "Widgets are not available"
2425
end if
2526

2627
Returns:

docs/notes/bugfix-19377.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Updated example in the version dictionary entry

0 commit comments

Comments
 (0)