Quiz question

Robert Deskin bob.deskin at me.com
Sun Feb 13 22:02:00 CST 2022


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.

Here’s the discussion from the 8.4G QUIZ manual:
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.

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. 

Bob

> On Feb 13, 2022, at 10:31 PM, brian_matthewsbrian <brian_matthews_bmw at hotmail.com> wrote:
> 
> Hi all (however few or many that may be) 
> 
> Some/many years ago there was a quiz source code submission which showed how to alter the timing of a define refresh. 
> 
> 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. 
> 
> Has anyone got any idea what the syntax was? 
> 
> Many thanks to anyone that has read this far ;-}) 
> -- 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l at lists.sowder.com
> Subscribe: 'subscribe' in message body to powerh-l-request at lists.sowder.com
> Unsubscribe: 'unsubscribe <password>' in message body to powerh-l-request at lists.sowder.com
> https://lists.sowder.com/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a subscriber.
> Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sowder.com/pipermail/powerh-l/attachments/20220213/bd2e5d22/attachment.html>


More information about the powerh-l mailing list