Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #35829

Re: Is there a control for this?

Newsgroups comp.lang.javascript
Subject Re: Is there a control for this?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References (4 earlier) <b74ade00-2497-45fb-baf8-4ead85be30f0@googlegroups.com> <XnsA99C8406DCA4eejj99@194.109.6.166> <d4d40538-c5f7-4611-91e4-ca0b0fe72816@googlegroups.com> <XnsA99CE57FE5A1Feejj99@194.109.6.166> <c4ba45a0-d356-4678-b205-7b29db91a156@googlegroups.com>
Date 2018-11-17 21:59 +0100
Message-ID <XnsA99DDFACB76E5eejj99@194.109.6.166> (permalink)

Show all headers | View raw


dr.j.r.stockton@gmail.com wrote on 17 Nov 2018 in comp.lang.javascript:

> On Friday, November 16, 2018 at 9:33:46 PM UTC, Evertjan. wrote:
>> JRS wrote on 16 Nov 2018 in comp.lang.javascript:
> 
>> You should write and print numeric values as formatted strings.
>> Algol taught me that.
> 
> 60 or 68?  I knew one of the authors of the Algol 60 Report, and I have
> a printed copy.  <script type="text/Algol##"> would be nice, if widely
> implemented. 

I don't remember, I only had this booklet about Algol,
and that printing to the screen or to paper were not something default,
but required a command, and that that command needed to specify the string 
type.

After Assembler for 2650, I went to Central Data Basic, written by an 
unknown yough man called William Gates.
 
>> Don't be dependend on the quirks of operating systems and browsers.
> 
> Knowing them means that they can be avoided.

Well cross-browser-wize avoidance if you are using JS is by
having the scripting do the formatting.

> I require this page to be capable of running in Firefox, as
> Firefox debugging is best for me.  But, as a bonus, I would
> like the page to read and write a file, as an editor does.

Does an editor that? Perhaps.

Client-side accessing a file should be and is forbidden for browsers.

You have two options, imho,
as you don't want to change the security-settings of browsers:

1 use serverside files.

2 use a pseudo-file as in HTML Web Storage:

2.1 window.localStorage - stores data with no expiration date.

2.2 window.sessionStorage - stores data for one session.

> Trying  <input type=file  proved a disappointment; 

John, you should get used to disappointments in cyber-life too,
and I am in general unconvinced of such statements of proof.

Yes, I know that that is just semantics, 
but, ever since brexitis broke out,
I am unconvinced such 'just' is justified.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-15 04:43 -0800
  Re: Is there a control for this? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-11-15 15:49 +0000
  Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-15 16:51 +0100
    Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-15 10:17 -0800
      Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-15 23:19 +0100
        Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-16 03:49 -0800
          Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-16 12:58 +0100
            Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-16 10:51 -0800
              Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-16 22:33 +0100
                Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-17 03:26 -0800
                Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-17 21:59 +0100
                Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-18 06:29 -0800
                Re: Is there a control for this? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-11-18 15:44 +0000
    Re: Is there a control for this? Gloops <gloops@zailes.invalid.org.invalid> - 2018-11-18 10:35 +0100
      Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-18 11:32 +0100
        Re: Is there a control for this? Gloops <gloops@zailes.invalid.org.invalid> - 2018-11-29 17:08 +0100
      Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-18 05:37 -0800
      Re: Is there a control for this? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-11-18 17:13 +0100
        Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-18 21:28 +0100
          Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-19 02:51 -0800

csiph-web