aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/snippets/progress.snippets
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-06-30 16:03:25 +0200
committerKarel Kočí <cynerd@email.cz>2016-06-30 16:03:25 +0200
commite573b3020c032400eed60b649a2cbf55266e6bb0 (patch)
tree8f572394ac8433529c7a8e70d160a2fbe8268b4e /vim/bundle/vim-snippets/snippets/progress.snippets
parentb8c667bd64b3edd38d56c63c5bd1db53a23b4499 (diff)
downloadmyconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.tar.gz
myconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.tar.bz2
myconfigs-e573b3020c032400eed60b649a2cbf55266e6bb0.zip
Add current configurations from old repository
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/progress.snippets')
-rw-r--r--vim/bundle/vim-snippets/snippets/progress.snippets58
1 files changed, 58 insertions, 0 deletions
diff --git a/vim/bundle/vim-snippets/snippets/progress.snippets b/vim/bundle/vim-snippets/snippets/progress.snippets
new file mode 100644
index 0000000..dee07a8
--- /dev/null
+++ b/vim/bundle/vim-snippets/snippets/progress.snippets
@@ -0,0 +1,58 @@
+# Progress/OpenEdge ABL snippets
+# define
+snippet defbuf
+ DEFINE BUFFER b_${1:TableName} FOR $1 ${0}.
+snippet defvar
+ DEFINE VARIABLE ${1:VariableName} AS ${0}.
+snippet nl
+ NO-LOCK
+snippet ne
+ NO-ERROR
+snippet nle
+ NO-LOCK NO-ERROR
+snippet ini
+ INITIAL ${0:?}
+snippet nu
+ NO-UNDO
+snippet err
+ ERROR
+snippet ff
+ FIND FIRST ${1:BufferName}
+ ${2:WHERE $1.${3}} ${0}
+snippet input
+ DEFINE INPUT PARAMETER ${1:ParamName} AS ${0}.
+snippet output
+ DEFINE OUTPUT PARAMETER ${1:ParamName} AS ${0:ParamType}.
+snippet proc
+
+ /******************************************************************************/
+
+ PROCEDURE ${1:ProcName}:
+
+ ${0}
+
+ END PROCEDURE. /* $1 */
+
+ /******************************************************************************/
+
+snippet alert
+ MESSAGE "${1:MessageContent}" ${2:Data} VIEW-AS ALERT-BOX.
+snippet if
+ IF ${1:Condition}
+ THEN ${2:Action}
+ ${3:ELSE ${4:OtherWise}}
+snippet do
+ DO${1: Clauses}:
+ ${0}
+ END.
+# datatypes
+snippet int
+ INTEGER
+snippet char
+ CHARACTER
+snippet log
+ LOGICAL
+snippet dec
+ DECIMAL
+snippet sep
+ /* ------------------------------------------------------------------------- */