I am relatively new to writing scripts in Aspect. I have run accros a rather difficult problem. I am trying to repeat the command and increment the variable that is inputed by 1. I would like to also be able to set when to stop the repeat of the command.
Here is an example of what I am trying to do.
So the two problems (that I see) is
1. I dont know how to make the command repeat
2. Dont know how to make it increment the variable in the dialog box by 1
I appreciate if someone could help. Thanks
Jason
Here is an example of what I am trying to do.
Code:
string X
proc main
transmit "ed-t1::" ; initial start of command
dialogbox 0 42 32 125 59 91 "Access Identifier (AID)"; begins box to input data
text 1 2 12 38 11 "Enter AID:" left ; part of dialog box
editbox 5 52 11 34 11 X ; box where user inputs data
pushbutton 2 39 39 40 13 "OK" OK DEFAULT ; button for OK
pushbutton 3 84 39 40 13 "Cancel" CANCEL ; button for Cancel
enddialog ; ends box
transmit X ; adds the data that the user inputed
transmit ":CTAG::CST:FMT=ESF,ALM=INH,MODE=FRCD;^M" ; completes command
endproc
So the two problems (that I see) is
1. I dont know how to make the command repeat
2. Dont know how to make it increment the variable in the dialog box by 1
I appreciate if someone could help. Thanks
Jason