Template:APIComment: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) (Created page with '{{Font|{{{1}}}|10|verdana|italic|green}}') |
Kate Racaza (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Font|{{{1}}}|10|verdana|italic|green}} | {{Font|{{{1}}}|10|verdana|italic|green}}<noinclude>[[Category:Templates]]{{Template:APIComment/documentation}}</noinclude> |
Latest revision as of 16:32, 5 May 2016
{{{1}}}
Template Documentation
This template is a part of a series of templates used as syntax highlighters for the code samples in the Synthesis API Reference Documentation.
The other templates in this series are:
Usage
Here's an example of how to use this series of templates:
{{APIComment|'Declare a new Repository object and connect to a Synthesis repository.}} {{APIPrefix|Dim}} MyRepository {{APIPrefix|As New}} Repository MyRepository.ConnectToAccessRepository({{APIString|"C:\RSRepository1.rsr10"}})
The output is displayed as follows:
'Declare a new Repository object and connect to a Synthesis repository.
Dim MyRepository As New Repository
MyRepository.ConnectToAccessRepository("C:\RSRepository1.rsr10")