Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

You can't cheat the phone company.


devel / comp.lang.clarion / How to assign a value to all variables in a group

SubjectAuthor
o How to assign a value to all variables in a groupColin Reynolds

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

<4d866203-0dd4-4826-99a4-69162b4b262dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9885&group=comp.lang.clarion#9885

  copy link   Newsgroups: comp.lang.clarion
X-Received: by 2002:a05:620a:2225:: with SMTP id n5mr11690474qkh.38.1624047977458;
Fri, 18 Jun 2021 13:26:17 -0700 (PDT)
X-Received: by 2002:a25:1d83:: with SMTP id d125mr15963075ybd.508.1624047976972;
Fri, 18 Jun 2021 13:26:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clarion
Date: Fri, 18 Jun 2021 13:26:16 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=149.86.88.233; posting-account=Xo_xYgoAAAAhA4TdykmD01Oe3PpCQvZz
NNTP-Posting-Host: 149.86.88.233
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4d866203-0dd4-4826-99a4-69162b4b262dn@googlegroups.com>
Subject: How to assign a value to all variables in a group
From: cedarsys...@gmail.com (Colin Reynolds)
Injection-Date: Fri, 18 Jun 2021 20:26:17 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Colin Reynolds - Fri, 18 Jun 2021 20:26 UTC

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..

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor