question [message #17044] |
Thu, 09 September 1999 00:00  |
Ophir Maor
Messages: 1 Registered: September 1999
|
Junior Member |
|
|
Hi there...
i havea questions for you:
1. if i have a window and inside i 'm getting some data from the user,
and then i want put two buttons for o.k. and cancel... how can i do it,
meaning when presssing o.k. the data will be transfered to the callback
function of the button 'o.k.'
thanks,
Ophir Maor
and Keep the coal still hot......
------------------------------------------------------------
address:
Ophir Maor
Hollaender str. 126
13407
Berlin
Germany
Phones:
at home : 0049-30-45803241 (in the evenings)
at work : 0049-30-80622635 (during the day, 10:00 - 16:00)
------------------------------------------------------------
|
|
|
|
Re: Question [message #76395 is a reply to message #17044] |
Tue, 31 May 2011 02:10  |
Fabzou
Messages: 76 Registered: November 2010
|
Member |
|
|
On 05/31/2011 10:02 AM, Konstantinos wrote:
> Dear ALL
>
> Supose that we have an matrix, lets say a[200,200]
> most of the elements are 0
> I want to find the coordinates and the values of the elements that are
> not zero within the matrix
> (eg valye 5, col 12, row 17)
>
> if i give the commanf
>
> index=WHERE(a gt 0)
> then the result is a long aray of dimesion 1.
the size of the array depends on how many elements were found.
To get the coordinates into the matrix, you might want to use
ARRAY_INDICES.
>
> any suggestions?
>
> Thank You in advance
>
> Kostas
|
|
|