44 lines
844 B
Plaintext
44 lines
844 B
Plaintext
include::../description.adoc[]
|
|
|
|
== Noncompliant Code Example
|
|
|
|
With the default comment pattern ``++^'\s*\S+\s*$++``, which ignores single word comments:
|
|
|
|
----
|
|
Module Module1
|
|
Sub Main()
|
|
Console.WriteLine("Hello, world!") ' Noncompliant - My first program!
|
|
Console.WriteLine("Hello, world!") ' CompliantOneWord
|
|
End Sub
|
|
End Module
|
|
----
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
Module Module1
|
|
Sub Main()
|
|
' Compliant - My first program!
|
|
Console.WriteLine("Hello, world!")
|
|
Console.WriteLine("Hello, world!") ' CompliantOneWord
|
|
End Sub
|
|
End Module
|
|
----
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::../message.adoc[]
|
|
|
|
include::parameters.adoc[]
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|