• Checking for empty display code contents in a menu?

    From Björn Wiberg@2:201/137 to All on Wed Feb 2 22:11:41 2022
    Hello everyone!

    Is there some easy and/or clever way to check whether the contents of a display code is empty inside a menu?

    E.g., if <pipe>DP (selected file transfer protocol) is empty, I would like the menu to display something like:

    (F) File Transfer Protocol -> [ask every time]

    ...whereas if it is not empty, I would like it to display the actual value, e.g.:

    (F) File Transfer Protocol -> Zmodem

    Many thanks in advance! =)

    Best regards

    --- Mystic BBS v1.12 A48 2022/02/02 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)