User:Kate Racaza/test page: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
(Replaced content with '=DRAFT=')
 
(81 intermediate revisions by 3 users not shown)
Line 1: Line 1:
===Properties===
=DRAFT=
{|class="toptextcells" border="0"; cellpadding="5"; cellspacing="0"; style="border-collapse: collapse; text-align: left;width:{{{1|80%}}}; cellborder; toptextcells"
|- style="background:#D8D8D8;"
!<span style="color:#585858;">Name</span>
!<span style="color:#585858;">Description</span>
|-
|style="width: 30%;"|FileName
|'''String'''. The complete path to the Synthesis Repository you will connect to.dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
|-
|FileName||'''String'''. The complete path to the Synthesis Repository you will connect to.
|}
 
===Methods===
{|{{APITable}}
|-
|FileName||'''String'''. The complete path to the Synthesis Repository you will connect to. Example: ''C:\Users\USERNAME\Documents\ReliaSoft\Files\RSRepository1.rsr10''.
|}
 
=== Parameters ===
{| {{APITable}}
|-
|ServerName{{APIParam|Required}}||'''String'''. The complete path to the Synthesis Repository you will connect to.
|}
 
 
==Example==
This example assumes that a file called "RSRepository1.rsr10" exists in the C: drive.
 
'''VBA|VB.NET'''<br>
Dim MyRepository As New Repository
MyRepository.ConnectToRepository("C:\RSRepository1.rsr10")
 
 
<br/>
<br/>
<br/>
 
<br/>
<br/>
<br/>
 
====================
===<span style="font-family:Verdana;font-size:18px;font-weight:bold;color:#2E64FE">Methods</span>===
{|border="0" align="left" cellpadding="5" cellspacing="0" style="border-collapse: collapse; text-align: left; width:100; cellborder"
|- style="background:#D8D8D8;"
! style="width: 15%;"|Name
! Description
|-
|ConnectToRepository
|'''Boolean'''. Connects to a Synthesis repository  (*.rsr9, *rsr10* or *.rserp) that you specify. When true, indicates a successful connection to that repository.
|-
|ConnectToAccessRepository
|'''Boolean'''. Connects to a standard Repository (*.rsr9, *rsr10*) that you specify. When true, indicates a successful connection to that repository. This method cannot be used to connect to an enterprise repository (*.rserp).
|-
|ConnectToSQLRepository
|'''Boolean'''. Connects to a SQL repository that you specify. When true, indicates a successful connection to that repository.
|}
 
<br/>
<br/>
<br/>
 
 
 
==TEST PAGE==
__NOTOC__
 
 
 
<pre>
Private Function EscapeCharacter(char As String)
    ReplaceString char, "<nowiki><nowiki></nowiki>" & char & "<nowiki></nowiki></nowiki>"
End Function
</pre>
 
 
'''VBA'''<br/>
'Connect to a repository
Dim Success As Boolean = False
Success = MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr10")
 
 
<div style="width: 98%; border:1px solid #819FF7; padding: 0px 10px 10px 10px;text-align: left; border-radius:10px">
{{Font|VBA|8|Calibri|Bold|#424242}}
 
{{APIComment|'Connect to a Synthesis repository.}}<br/>
Dim Success {{APIPrefix|As}} Boolean<br/>
Success = MyRepository.ConnectToRepository("C:\Users\Name\Documents\ReliaSoft\Files\repository.rsr10")
 
</div>
 
 
<blockquote style="color: lightgrey; border: solid thin gray; border-radius:10px; padding: 10px; text-align: left;">
{{Font|VBA|8|Calibri|Bold|#6E6E6E}}
 
asdfsdfssdf
sdafasfsdaf
asdfdsa  asdfadsfdsa
</blockquote>
 
 
{|
| width="48" height="15" | column 1
| width="48" | column 2
| width="48" | column 3
 
|- style="font-size:11pt"  valign="bottom"
| align="right" height="15" | 1
| align="right" | 4
| align="right" | 7
 
|- style="font-size:11pt"  valign="bottom"
| align="right" height="15" | 2
| align="right" | 5
| align="right" | 8
 
|- style="font-size:11pt"  valign="bottom"
| align="right" height="15" | 3
| align="right" | 6
| align="right" | 9
 
|}
 
 
 
 
The first possibility<ref name="Dog" /> is the probability of a successful trial, <math>(1-p)</math>, where <math>p</math> is the probability of failure in trial <math>n-1</math>, while being in the unreliable state, <math>P_{n-1}(0)</math>, before the <math>n-1</math> trial, or:
 
::<math>(1-p)P_{n-1}(0)</math>
 
::<math>ax^2 + bx + c = 0</math>
 
 
==References==
<ref name="Dog"> This is the dog reference.</ref>
 
 
'''Examples of expressions that are always rendered as PNG images'''
 
<math>x={-b\pm\sqrt{b^2-4ac} \over 2a}</math>
 
<math>2 = \left( \frac{\left(3-x\right) \times 2}{3-x} \right)</math>
 
 
Use <nowiki>\textstyle</nowiki> markup to make it smaller:
<math>\textstyle 2 = \left( \frac{\left(3-x\right) \times 2}{3-x} \right)</math>
 
 
<hr>
Regular size formula:
:The formula <math>\sum_{n=1}^\infty 1/n^2 = \pi^2/6 </math> is used for...
 
<nowiki>\textstyle</nowiki> markup:
:The formula <math>\textstyle\sum_{n=1}^\infty 1/n^2 = \pi^2/6</math> is used for...
 
<hr>
 
Mix of HTML and TeX markup:
 
TPH = <math>\tau</math>(DTO<sub>4</sub> – DTR<sub>1</sub>)
 
 
All TeX markup:
 
<math>TPH = \tau(DTO_{4}-DTR_{1})</math>
<noinclude>

Latest revision as of 15:37, 7 September 2016

DRAFT