Skip to content

Commit

Permalink
Merge pull request #334 from chrjorgensen/feature/fall-2024-rpgle-enh…
Browse files Browse the repository at this point in the history
…ancements

Add snippets for %HIVAL and %LOVAL
  • Loading branch information
worksofliam authored Oct 28, 2024
2 parents b9a6072 + 2ea0da1 commit e97f442
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions schemas/rpgle.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,13 @@
],
"description": "%HANDLER is used to identify a procedure to handle an event or a series of events. %HANDLER does not return a value, and it can only be specified as the first operand of XML-SAX, XML-INTO and DATA-INTO."
},
"%hival": {
"prefix": "%hival",
"body": [
"%hival(${1:variable or enum})"
],
"description": "%HIVAL returns the highest possible value of a variable or the highest value in an enumeration."
},
"%hours": {
"prefix": "%hours",
"body": [
Expand Down Expand Up @@ -652,6 +659,13 @@
],
"description": "%LOOKUPGE returns the array index of the item in the array that is an exact match, or the value that is closest to argument but greater than argument."
},
"%loval": {
"prefix": "%loval",
"body": [
"%loval(${1:variable or enum})"
],
"description": "%LOVAL returns the lowest possible value of a variable or the lowest value in an enumeration."
},
"%lower": {
"prefix": "%lower",
"body": [
Expand Down

0 comments on commit e97f442

Please sign in to comment.