• How to assign a value to all variables in a group

    From Colin Reynolds@cedarsystems@gmail.com to comp.lang.clarion on Fri Jun 18 13:26:16 2021
    From Newsgroup: comp.lang.clarion

    Anybody know how to do this ?

    I have a file containing User Names, Passwords, and Access Permissions.
    Each User gets access to a number of different routines by a use of a simple 'Y' or 'N' against each option.
    Variables are all contained within Groups (Main Menu, Sales Invoicing, Sales Ledger etc.)
    Trouble is that there are well over 100 options, and I do not want to set them individually.
    What I would like to do is;
    If a user is flagged as "Admin", then set all Access Permissions to 'Y'
    Is there a simple assignment statement that will change all items in a Group Structure ?
    Tried a couple of things, nothing seems to work..
    --- Synchronet 3.21d-Linux NewsLink 1.2