Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

In the long run, every program becomes rococco, and then rubble. -- Alan Perlis


devel / comp.lang.javascript / Re: Any way to do this in JavaScript?

SubjectAuthor
o Re: Any way to do this in JavaScript?The One Who Is Writing This

1
Re: Any way to do this in JavaScript?

<b699aefd-4211-4301-9b46-1da9f43875fen@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17819&group=comp.lang.javascript#17819

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a7b:c1cb:0:b0:3a0:4aec:7eb7 with SMTP id a11-20020a7bc1cb000000b003a04aec7eb7mr11644353wmj.96.1656614836203;
Thu, 30 Jun 2022 11:47:16 -0700 (PDT)
X-Received: by 2002:a05:6870:9692:b0:101:ceb8:3b7c with SMTP id
o18-20020a056870969200b00101ceb83b7cmr7498704oaq.160.1656614835534; Thu, 30
Jun 2022 11:47:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Thu, 30 Jun 2022 11:47:15 -0700 (PDT)
In-Reply-To: <nmln2h$kbr$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=85.253.192.57; posting-account=_HrVLgoAAAAvDDvVYw-sidhilgYzxTuh
NNTP-Posting-Host: 85.253.192.57
References: <nmln2h$kbr$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b699aefd-4211-4301-9b46-1da9f43875fen@googlegroups.com>
Subject: Re: Any way to do this in JavaScript?
From: ingel1983912@gmail.com (The One Who Is Writing This)
Injection-Date: Thu, 30 Jun 2022 18:47:16 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: The One Who Is Writi - Thu, 30 Jun 2022 18:47 UTC

Write a program, that will make a program for you.
If the program says, that it is impossible to make that program, then you shouldn't argue and you should accept this.

***************************
The One Who Is Writing This

$Bill kirjutas Teisipäev, 19. juuli 2016 kl 19:12:56 UTC+2:
> Sent this to alt... by mistake - let's try here.
>
> In Perl, I have:
>
> my ($title, $chan, $call, $sTime, $dur) = split /~~/, $el;
>
> I've converted this to JavaScript thusly:
>
> var flds = el.split('~~'); // split into array, then to vars
>
> var title = flds[0];
> var chan = flds[1];
> var call = flds[2];
> var sTime = flds[3];
> var dur = flds[4];
>
> I was hoping for a more straightforward/cleaner syntax - something like:
>
> var (title, chan, call, sTime, dur) = el.split('~~'); // do it all in one like Perl
>
> Any way to do that?


devel / comp.lang.javascript / Re: Any way to do this in JavaScript?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor