<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">According to the QUIZ manual, a DEFINE based on an expression is evaluated for every record complex as soon as the data referenced is available. If the data referenced doesn’t change, then the value of the DEFINE won’t change.<div class=""><br class=""></div><div class="">Here’s the discussion from the 8.4G QUIZ manual:</div><div class="">
<div class="page" title="Page 60">
<div class="layoutArea">
<div class="column"><p class=""><span style="font-style: normal;" class="">The DEFINE statement calculates expressions or comparisons that are calculated for each record
complex. The expression is calculated once for every record complex as soon as the data required
is available.
</span></p><p class=""><span style="font-style: normal;" class="">The purpose of the DEFINE statement is to combine and manipulate data contained in files or to
create a new item not contained in a record complex. The DEFINE statement is evaluated as soon
as the data required for that evaluation becomes available. The DEFINE statement is re-evaluated
based on default values if the record on which it depends is not retrieved. </span></p>
</div>
</div>
</div><div>Bob</div><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 13, 2022, at 10:31 PM, brian_matthewsbrian <<a href="mailto:brian_matthews_bmw@hotmail.com" class="">brian_matthews_bmw@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" class="">
<div class="">
<div class="">Hi all (however few or many that may be) </div>
<div class=""><br class="">
</div>
<div class="">Some/many years ago there was a quiz source code submission which showed how to alter the timing of a define refresh. </div>
<div class=""><br class="">
</div>
<div class="">The default was at the start of the quiz. But there was at the time (have no idea if it has since been deprecated) syntax, part of the define statement, that moved the timing to refresh with each record read. </div>
<div class=""><br class="">
</div>
<div class="">Has anyone got any idea what the syntax was? </div>
<div class=""><br class="">
</div>
<div class="">Many thanks to anyone that has read this far ;-}) </div>
</div>
-- <br class="">= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br class="">Mailing list: <a href="mailto:powerh-l@lists.sowder.com" class="">powerh-l@lists.sowder.com</a><br class="">Subscribe: 'subscribe' in message body to <a href="mailto:powerh-l-request@lists.sowder.com" class="">powerh-l-request@lists.sowder.com</a><br class="">Unsubscribe: 'unsubscribe <password>' in message body to <a href="mailto:powerh-l-request@lists.sowder.com" class="">powerh-l-request@lists.sowder.com</a><br class=""><a href="https://lists.sowder.com/mailman/listinfo/powerh-l" class="">https://lists.sowder.com/mailman/listinfo/powerh-l</a><br class="">This list is closed, thus to post to the list you must be a subscriber.<br class="">Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.</div></blockquote></div><br class=""></div></body></html>