🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: bit.listserv.rexxlist
2 messages
2 total messages Started by FLATSCHER Rony Thu, 24 Sep 1992 11:10
dropping part of compound variable ?
#49
Author: FLATSCHER Rony
Date: Thu, 24 Sep 1992 11:10
15 lines
885 bytes
Is there some known way or implementation for dropping part of a
compound variable, like e.g.

     stem.austria.population = 8000000
     stem.austria.contintent = "Europe"
     stem.belgium.population = 5000000
     stem.belgium.contintent = "Europe"
     stem.usa.population     = 240000000
     stem.usa.contintent     = "North America"
     ...

     DROP stem.belgium       /* dropping all elements of stem.belgium.*
                                including stem.belgium ??? */

---rony
Re: dropping part of compound variable ?
#50
Author: Jim McMaster
Date: Mon, 28 Sep 1992 03:04
23 lines
1352 bytes
In article <92268.121031RONY@awiwuw11.wu-wien.ac.at>
FLATSCHER Rony <RONY@awiwuw11.wu-wien.ac.at> writes:
 
>Is there some known way or implementation for dropping part of a
>compound variable, like e.g.
>
>     stem.austria.population = 8000000
>     stem.austria.contintent = "Europe"
>     stem.belgium.population = 5000000
>     stem.belgium.contintent = "Europe"
>     stem.usa.population     = 240000000
>     stem.usa.contintent     = "North America"
>     ...
>
>     DROP stem.belgium       /* dropping all elements of stem.belgium.*
>                                including stem.belgium ??? */
>
>---rony
Sorry, but this will not work.  Only "stem." is the stem.  "stem.belgium."
is not a stem.  It is a set of variables all having "belgium." as the
first eight characters of the tail.
 
Jim McMaster
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads