[amibroker] cannot control the ParamList() from inside the debugger?

 

It seems that when I go into debugger, the ParamList() function always selects the first option as default, even though I have selected the ordinal 3 (fourth) selection.  Ideally I would like to select a parameter even from inside debugger.

Am I doing something wrong?  How can I make this script select option "actionBacktest" when in debug mode?


>>>>>>>>>>>>>>>
stactionStr = ParamList( "Run Status", "Auto Detect|actionIndicator|actionExplore|actionBacktest", 3 );

switch( stactionStr )
{
case "Auto Detect":
    staction = status( "actionEX" ) ;
    break;

case "actionIndicator":
    staction = actionIndicator ;
    break;

case "actionExplore":
    staction = actionExplore ;
    break;

case "actionBacktest":
    staction = actionBacktest ;
    break;

default:
    staction = status( "actionEX" ) ;
    break;
}
printf("staction = %g\n",staction);
<<<<<<<<<<<<<


This is the output:

from default (no change of parameters) run of the script:
actionBacktest
staction = 5


from debugger:

Auto Detect
staction = 12


AB 6.12.0 64bit

__._,_.___

Posted by: "B. Pitatzidis" <bobptz@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___

Related Posts


EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv