Template:Record:file:New syntax: Difference between revisions
Jump to navigation
Jump to search
m (Created by class Wiki) |
(Automatically generated page update) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!-- This page was automatically generated and will be automatically | <!-- This page was automatically generated and will be automatically | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
<p class="syntax"><span class="term">%fileRecord</span><span class="literal"> =</span> <span class="literal">%(Record):New</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="LockStrength">lockStrength</span><span class="squareb">]</span><span class="comma">,</span> | <p class="syntax"><span class="term">%fileRecord</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(Record In </span><span class="term">filOrGrp name</span><span class="literal">):</span><span class="squareb">]</span><span class="literal">New</span><span class="literal">(</span> <span class="term" title="Number">number</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="LockStrength">lockStrength</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal" title="LockStrength">LoopLockStrength=</span> <span class="term" title="LockStrength">lockStrength</span><span class="squareb">]</span><span class="literal">)</span> | |||
Throws [[RecordLockingConflict class|RecordLockingConflict]]</p> |
Latest revision as of 13:27, 30 April 2013
%fileRecord = [%(Record In filOrGrp name):]New( number, [lockStrength], - [LoopLockStrength= lockStrength]) Throws RecordLockingConflict