-
Notifications
You must be signed in to change notification settings - Fork 8
/
enumerationmemberloopexpansiontokens.htm
93 lines (92 loc) · 4.74 KB
/
enumerationmemberloopexpansiontokens.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE HTML>
<html id="hs-topic-p">
<!-- saved from url=(0025)http://www.helpsmith.com/ -->
<head>
<title>Enumeration Member Loop Expansion Tokens</title>
<meta charset="windows-1252" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="HelpSmith 9.8 (Build 23.1026)" />
<link type="text/css" rel="stylesheet" href="../css/topics/style.css" />
<script type="text/javascript" src="../js/jquery-3.7.1.min.js"></script>
<style type="text/css" media="screen">
html {
height: 100%;
}
body {
margin: 0;
}
</style>
<script type="text/javascript" src="../js/settings.js?d3532453"></script>
<script type="text/javascript" src="../js/core.min.js?adb9c364"></script>
<script type="text/javascript" src="../js/topic.min.js?adb9c364"></script>
<script type="text/javascript">
var topicContext = 4270;
</script>
<!-- Web Help Topic -->
<!-- HTML Help (CHM) Topic -->
</head>
<body class="nsa-wrapper">
<div id="nsa-box" class="nsa-content0">
<h1 class="hd0"><span class="ts0">Enumeration Member Loop Expansion Tokens</span></h1>
</div>
<div id="sa-box">
<div id="content-box" class="sa-content0">
<p> </p>
<p><span class="ts2">Enumeration member loop </span><a href="expansiontokens.htm" class="hs4">expansion tokens</a><span class="ts2"> are used to insert information about the current enumeration member being processed within the context of an enumeration member loop into the output stream. Enumeration member loop tokens can only be used inside an enumeration member loop.</span></p>
<p><span class="ts2"> </span></p>
<div class="block0">
<table class="tbl1">
<tr class="row0">
<td class="cell81">
<p class="ps1"><span class="ts5">Enumeration Member Loop Token</span></p>
</td>
<td class="cell82">
<p class="ps1"><span class="ts5">Description</span></p>
</td>
</tr>
<tr class="row0">
<td class="cell83">
<p><a id="ENUM_MEMBER_NAME"></a><span class="ts2"><ENUM_MEMBER_NAME></span></p>
<p><span class="ts2"> </span></p>
</td>
<td class="cell84">
<p><span class="ts2">Inserts the name of the enumeration member.</span></p>
<p><span class="ts2"> </span></p>
<p class="ps1"><span class="ts2">Alternates: </span><span class="ts3"><enum_member_name>, <Enum_Member_Name>, <Enum_member_name>, <EnumMemberName>, <enumMemberName></span></p>
</td>
</tr>
<tr class="row0">
<td class="cell83">
<p><a id="ENUM_MEMBER_EXPLICIT_VALUE"></a><span class="ts2"><ENUM_MEMBER_EXPLICIT_VALUE></span></p>
<p><span class="ts2"> </span></p>
</td>
<td class="cell85">
<p><span class="ts2">Inserts the numeric value of the enumeration member that is explicitly specified in the repository. Note that some enumeration members may not have an explicit value specified. In Synergy, enumeration members that do not have an explicit specified value will default to the value of the previous member incremented by one, except for the first member whose value defaults to zero. If a member does not have an explicitly specified value then inserts nothing.</span></p>
<p><span class="ts2"> </span></p>
<p class="ps1"><span class="ts2">The token is primarily used when defining enumerations in Synergy language.</span></p>
</td>
</tr>
<tr class="row0">
<td class="cell83">
<p><a id="ENUM_MEMBER_IMPLICIT_VALUE"></a><span class="ts2"><ENUM_MEMBER_IMPLICIT_VALUE></span></p>
<p><span class="ts2"> </span></p>
</td>
<td class="cell84">
<p><span class="ts2">Inserts the numeric value of the enumeration member that is either explicitly specified in the repository, or is implicitly derived by following the same rules observed by the Synergy compiler. This token will always cause a value to be inserted, even if the enumeration member being processed does not have an explicitly defined value.</span></p>
<p><span class="ts2"> </span></p>
<p class="ps1"><span class="ts2">This token is primarily used when defining enumerations in languages other than Synergy language.</span></p>
</td>
</tr>
</table>
</div>
<p><span class="ts2"> </span></p>
<p><span class="ts2"> </span></p>
<div class="hr-wrapper">
<hr class="hline1" />
</div>
<p class="ps8"><span class="ts10">Copyright © 2021 Synergex International, Inc.</span></p>
</div>
</div>
</body>
</html>