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


Groups > comp.lang.javascript > #35075

Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API?

Newsgroups comp.lang.javascript
Subject Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References (7 earlier) <a2076dd9-c025-45fe-82d7-053bb66f07e6@googlegroups.com> <lb06gdp5u6mt3d8t17ntgffrp9hegrn1n9@4ax.com> <d1ae1b33-1af4-4824-9ba6-a66e0d59ce89@googlegroups.com> <d061aa60-fd9f-4be0-aef2-14d0ce0b240b@googlegroups.com> <4787eb57-159d-4e41-9fb9-0b7ce59e60ad@googlegroups.com>
Date 2018-05-21 23:42 +0200
Message-ID <XnsA8E9F11CCEB35eejj99@194.109.6.166> (permalink)

Show all headers | View raw


=?UTF-8?Q?Jonas_Th=C3=B6rnvall?= <jonas.thornvall@gmail.com> wrote on 21
May 2018 in comp.lang.javascript: 

> As you may have seen windows 10 gives *error message when* i try to send
> messages to mid output. Because apparently the mid object is not
> reachable global, and i do not know howto tackle it. 

If you declare a variable name in the global scope,
with

let mid;

or 

var mid;

you can later assign your [non global yet] object to it:

mid =  midi;

===============================

This all very basic stuff, meseems,
and easily debuggable, 
perhaps by temporarily assigning it to a fake object.

Split up code into debuggable modules.

Please start thinking modular and debuggy,
do not ask us to review code that you do not understand yourself.


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

Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 01:49 -0700
  Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 02:15 -0700
    Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 02:24 -0700
      Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 02:28 -0700
        Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 02:30 -0700
  Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-21 12:13 +0200
    Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 03:47 -0700
    Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 03:48 -0700
    Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 04:02 -0700
    Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 04:24 -0700
      Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 04:46 -0700
        Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 05:11 -0700
          Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 05:21 -0700
            Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 05:21 -0700
              Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 05:27 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 05:30 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 05:48 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 08:13 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? John G Harris <niam@jghnorth.org.uk.invalid> - 2018-05-21 18:27 +0100
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 12:42 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 12:53 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 12:58 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 13:07 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-21 23:42 +0200
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 21:53 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-22 10:11 +0200
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 22:02 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 23:09 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 23:50 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-21 23:57 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-22 00:03 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-22 00:28 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-22 00:43 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-22 00:57 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-22 01:05 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-22 10:28 +0200
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-22 02:01 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-22 02:14 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-22 02:20 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2018-05-23 00:08 -0700
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-22 10:15 +0200
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-22 10:14 +0200
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-22 10:13 +0200
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-22 10:13 +0200
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-22 10:12 +0200
                Re: Script work with windows XP, "opera,chrome" but not in Windows 10 something changed in the midi API? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-05-22 10:11 +0200

csiph-web