Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news.mb-net.net!open-news-network.org!.POSTED.229.225.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: VB6/VBA array to JavaScript array Date: Fri, 29 Sep 2017 17:06:23 +0200 Organization: PointedEars Software (PES) Lines: 19 Message-ID: <1615398.8hzESeGDPO@PointedEars.de> References: <639d22ec-869c-482d-bd1c-4272dfb27b8c@googlegroups.com> <753cd5a0-573d-4e27-b312-60e63c209495@googlegroups.com> <61901091-8f1f-4e3b-abb9-4aa960c34ae4@googlegroups.com> <3a7b8a1c-46ab-4f69-a8a3-4b8b2de234a2@googlegroups.com> <55b4b33f-02a4-4cb3-8490-d7aa1c2a8763@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Info: gwaiyur.mb-net.net; posting-host="229.225.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch:178.197.225.229"; logging-data="4862"; mail-complaints-to="abuse@open-news-network.org" User-Agent: KNode/4.14.2 X-User-ID: U2FsdGVkX1817xbxSCxE5tZ9wJ6ab9iAV685FT6DgfFtt2/xNFtW2Q== Cancel-Lock: sha1:/bjrbNAVs2NKMBSp9reEo7Up1BM= X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. On Friday, 29 September 2017 14:00:56 UTC+1, Julio Di Egidio wrote: >> UDF (should be an object), > > Yes all that is as you say. Get2DByteArray is indeed a function and it > returns a 2D Integer VB6 array. I changed it from bytes as bytes in JS I > understand are signed and are the range -127 to +127. There is no single “JS” programming language. _JScript_, which you must be using, is Microsoft’s implementation of ECMAScript, where the default (and usually only) numeric type is an implementation of IEEE-754 double-precision floating point numbers. -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.