From ce07d2043df29199d27f5af739bd58a4224455aa Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Mon, 28 Mar 2022 15:00:49 +0300 Subject: Add more info about questionref usage Signed-off-by: Konstantin Aladyshev --- Lessons/Lesson_70/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lessons/Lesson_70/README.md b/Lessons/Lesson_70/README.md index 0ecd5f7..118bb09 100644 --- a/Lessons/Lesson_70/README.md +++ b/Lessons/Lesson_70/README.md @@ -257,6 +257,8 @@ endif ``` This code will show element, only if numeric value is even. +Keep in mind that code defining a `name` must come before its reference in `questionref`. Opposite situation would lead to build failure. + # pushthis Inside the question you can get the question value with the help of `pushthis` keyword, which would translate to `EFI_IFR_THIS`: -- cgit v1.2.3-18-g5258