🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #234898

Re: My dysfunctional attemp

#234898
From: ShadowTek
Date: Sun, 02 Aug 2009 02:42
30 lines
2966 bytes
On 2009-08-01, John E. Davis <jed@jedsoft.org> wrote:

> Below you will find a modified version that I believe works the way
> that you intended.  My main purpose here is is to provide some
> working examples of slang code.

*My* biggest problem with trying to learn s-lang by using the
documentation was that there is a *lot* of stuff that is left
out, as if the person is already supposed to know these things by being
thoroughly familiar with C#. That means that in order to use s-lang to
any great degree, you have to constantly consult C# documentation in parallel to
s-lang's.

Take my previous query about those regular expressions for example.
Much of that information can only be obtained outside of s-lang's
documentation.


> The best way to get the value of an environment variable is to use the
> getenv function.  The above should be replaced by:
>
>     variable home_str = getenv ("HOME");

I tried that but it didn't work, but I think I might have been trying "$HOME".


>> Here is the code.  I hope you find it instructive.  Thanks, --John

I'll look through it when I get a chance to sit down for a while.
Thanks.
Technical Details
Message-ID: <slrnh79urj.623.ShadowTek@desktop.localdomain>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!not-for-mail
References: <guhtt9$82j$1@news.motzarella.org> <slrnh0p4lk.9q2.catwheezel@ID-107770.user.individual.net> <slrnh6sm2b.be4.ShadowTek@desktop.localdomain> <20090729080451@usenet.piggo.com> <slrnh6v215.m8d.ShadowTek@desktop.localdomain> <20090729101510@usenet.piggo.com> <slrnh6vnoo.8ce.ShadowTek@desktop.localdomain> <slrnh73i74.imu.jed@aluche.mit.edu> <20090731083455@usenet.piggo.com> <slrnh749g4.qr1.usenet@news.piggo.com> <slrnh74t48.4ch.jed@aluche.mit.edu> <20090731235846@usenet.piggo.com> <slrnh769m0.nk4.jed@aluche.mit.edu> <slrnh796ag.n0g.ShadowTek@desktop.localdomain> <slrnh79e2l.3oi.jed@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrnh79urj.623.ShadowTek@desktop.localdomain>
Subject: Re: My dysfunctional attemp
Date: Sun, 02 Aug 2009 02:42:56 +0000
From: ShadowTek <ShadowTek@invalid.invalid>
References: <guhtt9$82j$1@news.motzarella.org> <slrnh0p4lk.9q2.catwheezel@ID-107770.user.individual.net> <slrnh6sm2b.be4.ShadowTek@desktop.localdomain> <20090729080451@usenet.piggo.com> <slrnh6v215.m8d.ShadowTek@desktop.localdomain> <20090729101510@usenet.piggo.com> <slrnh6vnoo.8ce.ShadowTek@desktop.localdomain> <slrnh73i74.imu.jed@aluche.mit.edu> <20090731083455@usenet.piggo.com> <slrnh749g4.qr1.usenet@news.piggo.com> <slrnh74t48.4ch.jed@aluche.mit.edu> <20090731235846@usenet.piggo.com> <slrnh769m0.nk4.jed@aluche.mit.edu> <slrnh796ag.n0g.ShadowTek@desktop.localdomain> <slrnh79e2l.3oi.jed@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!feeder.eternal-september.org!eternal-september.org!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 30
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org
 U2FsdGVkX19AmXMv48cAr0BIwj1IO+fHym4atau7eVrKEeMUg2x0EsY4t/xhKdgxFjYqJN6CmvKIcioZbhzRyjkLj6wwSBrQJstWeQzx5aqEYT4GNYJwOYBM02IVqzJJUlNtSar6oJGFG9DJPGBYAKTlJ805uoO4
X-Complaints-To: abuse@eternal-september.org
NNTP-Posting-Date: Sun, 2 Aug 2009 02:42:56 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX19dPmdlKJMNbTrfznow+lcANiveKPstUREdbUAxCDBjfA==
Cancel-Lock: sha1:NtwVMyqR3zFHJkcqRx+wlizQ6ww=
User-Agent: slrn/pre1.0.0-2 (Linux)