comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » From IDL to JS or PHP or C++
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
From IDL to JS or PHP or C++ [message #64906] Wed, 28 January 2009 08:52
asrytis is currently offline  asrytis
Messages: 1
Registered: January 2009
Junior Member
Hello,


Could anyone translate this bit to JavaScript, PHP or C++?

index = Where(array EQ 2.5, count)
xy = array_indices(array, index[0])
subarray = array[xy[0]-1:xy[0]+1, xy[1]-1:xy[1]+1]

Thank you
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: beep
Next Topic: Re: How to control the order of the objects to draw [using object graphics]

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:47:35 PDT 2025

Total time taken to generate the page: 0.00551 seconds