File: ok_dashes.pas

package info (click to toggle)
pasdoc 0.16.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,572 kB
  • sloc: pascal: 28,894; javascript: 7,665; xml: 2,597; makefile: 523; sh: 417
file content (29 lines) | stat: -rw-r--r-- 951 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ @abstract(Test of various dashes.)

  Triple dash produces em-dash, for separating parts of sentence and such,
  like "I know a secret --- but I won't tell".

  Double dash produces en-dash, intended to use for numbers ranges,
  like "10--20".

  Normal single dash is a short dash, for compound words,
  like "variable-width font".

  You can write @@@- in cases where you really want to write
  just 2 or more consecutive short dashes. E.g. @--long-option-name
  (here I escaped only the 1st "-", this means that the rest
  of dashes is also treated as a short dash),
  or -@-long-option-name (here I escaped only the 2nd dash),
  or @-@-long-option-name (here I escaped two first dashes,
  which wasn't really necessary, it's sufficient to escape
  either 1st or the 2nd dash), @-@-long@-option@-name
  (here I escaped all dashes; this looks unnecessary ugly
  in source code, but it's correct).
}
unit ok_dashes;

interface

implementation

end.