blob: fc3f1cf88110745277a6484e04df3a9354b1535f [file] [log] [blame]
Daniel Smith408bd9f2024-07-25 20:54:57 +02001/*
2 * VIM_TEST_SETUP set filetype=progress
3 */
4
5define variable customer_name as character no-undo.
6
7/* The test setup above is an example of a multi-line comment.
8This is too; the leading * and left-hand alignment are not required. */
9for each customer no-lock
10 where customer.customer_id = 12345
11:
12 assign cust_name = customer.customer_name. /* Comments can also appear
13 at the end of a line. */
14end. /* for each customer */
15
16/* Comments can be /* nested */. Here's the same query as above, but
17commented out this time:
18
19for each customer no-lock
20 where customer.customer_id = 12345
21:
22 assign cust_name = customer.customer_name. /* Comments can also appear
23 at the end of a line. */
24end. /* for each customer */
25
26TODO: Note that /*/ does not end the comment, because it actually starts a
27new comment whose first character is a '/'. Now we need two end-comment
28markers to return to actual code. */ */
29
30display customer_name.
31