Home »
Public Forums »
archive »
how to pass a parameter
how to pass a parameter [message #16799] |
Tue, 17 August 1999 00:00 |
kremasti
Messages: 3 Registered: July 1999
|
Junior Member |
|
|
hi all !
I have a problem that is :
I got a function that calculates a math. problem with a start variable
and gets a result . now my question is : how can I pass this variable
in the main program ? My goal is to change this variable in the main
program ( with a for structure ) and then get ( by calling the
function ) a new result . how is this possible in idl ? or is it
better if using two functions or a procedure ? and how can I run this
successfully ?
there is a second question too :
I got a nxn-matrix , that is described with a for-structure with
"shift" . now I want to change the coefficient of this matrix using
again a for-structure in order to get several matrices with other
coeffitients. how can I call this matrix A with 2 indices ?
thanks in advance
eva
|
|
|
Current Time: Wed Oct 08 19:02:04 PDT 2025
Total time taken to generate the page: 0.00504 seconds