-
Notifications
You must be signed in to change notification settings - Fork 8
/
enumerationmemberloopexpansiontokens.htm
113 lines (112 loc) · 5.17 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!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.4 (Build 22.705)" />
<style type="text/css" media="screen">
html {
overflow: hidden;
margin: 0;
padding: 0;
height: 100%;
}
body {
overflow: hidden;
margin: 0;
padding: 0;
height: 100%;
}
#non-scrolling-area {
padding: 0 10px 0 10px;
background-color: #5e5f5f;
}
#container {
overflow: auto;
-webkit-overflow-scrolling: touch;
}
#content {
padding: 0 10px 5px 10px;
}
</style>
<link type="text/css" rel="stylesheet" href="../css/topics/style.css" />
<script type="text/javascript" src="../js/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../js/nsa.js?0a86901a"></script>
<script type="text/javascript" src="../js/settings.js?f55a7ab4"></script>
<script type="text/javascript" src="../js/core.min.js?0a86901a"></script>
<script type="text/javascript" src="../js/topic.min.js?0a86901a"></script>
<script type="text/javascript">
var topicContext = 4270;
</script>
<!-- Web Help Topic -->
<!-- HTML Help (CHM) Topic -->
</head>
<body>
<div id="non-scrolling-area">
<h1 class="hd0"><span class="ts0">Enumeration Member Loop Expansion Tokens</span></h1>
</div>
<div id="container">
<div id="content-background">
<div id="content">
<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="cell85">
<p class="ps1"><span class="ts5">Enumeration Member Loop Token</span></p>
</td>
<td class="cell86">
<p class="ps1"><span class="ts5">Description</span></p>
</td>
</tr>
<tr class="row0">
<td class="cell87">
<p><a id="ENUM_MEMBER_NAME"></a><span class="ts2"><ENUM_MEMBER_NAME></span></p>
<p><span class="ts2"> </span></p>
</td>
<td class="cell88">
<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="cell87">
<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="cell89">
<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="cell87">
<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="cell88">
<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>
<hr class="hline1" />
</div>
<p class="ps8"><span class="ts10">Copyright © 2021 Synergex International, Inc.</span></p>
</div>
</div>
</div>
</body>
</html>