X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06 Apr 2021 01:21 AM by  Ellen Wasbø
My function does not give any output!
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Saeed Alborzi



New Member


Posts:
New Member


--
31 Mar 2021 09:39 AM
    Hi all. I have a function in the following format:


    ;start of the function

    function hopperbub16,num,maxframes,polyd=polyd,seed=seed,gravity=gravity, $
    f0=f0,dtuser=dtuser,angle=angle,width=width,mov=mov, $
    xrange=xrange,yrange=yrange, $
    startbub=startbub,useplot=useplot,jamstate=jamstate,jamstring=jamstring, $
    ampx=ampx,freqx=freqx, ampy=ampy,freqy=freqy,overflowmax=overflowmax, $
    narrow=narrow,noforce=noforce,_extra=eee


    [function body]
    .
    .
    .
    .
    .
    .
    .
    .

    return,result
    end

    ;end of the function

    However, it does not give any output when I call it in the IDL console like this:

    result=hopperbub16(300,2500,seed=seed,gr=0.1,wi=8.0,ov=1.0, mo=mov,yr=[-20,70],nar=10.d,/nof,/noo,/us)

    I even don't know if it has been run or not. Can anyone help me to see my results? how can I put breakdown points and see if the code is running and debug it?

    Thanks,

    Saeed

    Ellen Wasbø



    New Member


    Posts:1
    New Member


    --
    06 Apr 2021 01:21 AM
    Double-click any codeline to get a red dot to stop the code for debugging or write "stop" in the code to stop it where you want.
    You are not authorized to post a reply.