「ITTS:ITTS example variables assignment」修訂間的差異
跳至導覽
跳至搜尋
Vincentcheng2116(討論 | 貢獻) |
Vincentcheng2116(討論 | 貢獻) |
||
| 行 1: | 行 1: | ||
| − | <ref>Insert footnote text | + | <ref> |
| − | + | Insert footnote text here1 | |
| − | + | Insert footnote text here2 | |
| + | Insert footnote text here3 | ||
| + | </ref> | ||
| + | == example code == | ||
[[檔案:Variabels assignment.itts|縮圖]] | [[檔案:Variabels assignment.itts|縮圖]] | ||
於 2020年3月26日 (四) 11:54 的修訂
example code
assign a0~a9 as 0~90 select all contents, copy them and paste to ScripEditor.
| Example Code |
|---|
<Item>
<Text> assign a0~A9</Text>
<Description> </Description>
<ItemType> 1</ItemType>
<Skip> 1</Skip>
<SubItem>
<Item>
<Text> </Text>
<Description> assign a0~A9 as 00~90</Description>
<ItemType> 3</ItemType>
<Skip> 1</Skip>
</Item>
<Item>
<Text> </Text>
<Description> count =0</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> variable</ItemSection1>
<ItemSection2> count</ItemSection2>
<ItemCommand> =</ItemCommand>
<FailAction> </FailAction>
<FieldName> </FieldName>
<FieldNumber> </FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 0</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> </Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content></Content>
<Description>Min</Description>
</i1>
<i2>
<Content></Content>
<Description>Max</Description>
</i2>
<i3>
<Content>0</Content>
<Description>Value3</Description>
</i3>
</Parameter>
</Item>
<Item>
<Text> </Text>
<Description> assign</Description>
<ItemType> 2</ItemType>
<Skip> 1</Skip>
<ItemSection1> variable</ItemSection1>
<ItemSection2> a{['&VAR:count']}</ItemSection2>
<ItemCommand> =</ItemCommand>
<FailAction> </FailAction>
<FieldName> </FieldName>
<FieldNumber> </FieldNumber>
<ErrorCode> </ErrorCode>
<RetryTimes> 100</RetryTimes>
<RetryDelay> 0</RetryDelay>
<Process> ;count=['&VAR:count']+1</Process>
<FieldType> </FieldType>
<Parameter>
<i1>
<Content>;10</Content>
<Description>Min</Description>
</i1>
<i2>
<Content>;999</Content>
<Description>Max</Description>
</i2>
<i3>
<Content>['&VAR:count']*10;</Content>
<Description>Value3</Description>
</i3>
</Parameter>
</Item>
</SubItem>
</Item>
|
- ↑ Insert footnote text here1 Insert footnote text here2 Insert footnote text here3