From: Alan T. DeKok Date: Tue, 3 Sep 2024 15:21:41 +0000 (-0400) Subject: tweak docs to more clearly describe what's happening X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbcc7e97858c335f1b01536ab48f5baeeba11abd;p=thirdparty%2Ffreeradius-server.git tweak docs to more clearly describe what's happening --- diff --git a/doc/antora/modules/reference/pages/unlang/foreach.adoc b/doc/antora/modules/reference/pages/unlang/foreach.adoc index bbb9ea1b53..47181a7fff 100644 --- a/doc/antora/modules/reference/pages/unlang/foreach.adoc +++ b/doc/antora/modules/reference/pages/unlang/foreach.adoc @@ -60,11 +60,12 @@ Once the loop has finished , the `&Tmp-Integer-0` attribute will have the follow .Pseudocode for variable modification ---- loop over each i in attribute[0..n] - copy attribute[i] to the key variable + copy attribute[i] to the key variable, or cast the attribute to the destination type - run loop body + run loop body - copy the key variable back to attribute[i] + if data type of attribute matches the data type of the key + copy the key variable back to attribute[i] ----