|
Post by petermat on Jan 14, 2013 12:30:50 GMT -5
Just to the left of the Split button and wrap, there is a drop down list of lables, subs, functions. Mostly, selecting an item in this list causes the code in the main window to shift so the selected item is at the top. However selecting some items is ignored - and I can see no common factor is this excluded set.
This feature does not appear to be documented, so I don't really know what to expect.
Win 7 Home Premium on intel hw - 2 screens (happens on both)
Any info?
|
|
|
Post by Alyce Watson on Jan 15, 2013 6:03:08 GMT -5
This is the first report of the problem and I cannot reproduce it. I do not have a version of Windows later than Vista, so I cannot test it on Windows 7 or 8. I'll have a look at the code and see if I can figure out what is causing the glitch.
Sorry you've had a problem.
|
|
|
Post by petermat on Jan 15, 2013 10:33:40 GMT -5
- and I don't have access to anything other than W7 so I cannot do the inverse check. would you like me to send you my very draft 1300 line wip code, and a short list of problem items?
|
|
|
Post by Alyce Watson on Jan 16, 2013 5:33:24 GMT -5
Can you simply post a few of the lines of code that fail to trigger the event when clicked in the list of subs and branch labels?
|
|
|
Post by petermat on Jan 19, 2013 22:37:55 GMT -5
Sorry - been tied up. The *** are to separate snippets out of my code - they are not in the original. The following all fail except the last - but only a small percentage of all sub / functions fail. ***************************** Sub comboAircraft.click handle$ #handle$ "selection? aircraft$" End Sub
Sub initResultsFile ' this copies the relevant user entered data into the results file header print #resultsFileHandle, "This is an SgS results file created by" print #resultsFileHandle, TESTQnumRev$; " at "; time$();" on ";date$() ******************************** nrCommandForTU$ = L$ + nnn2asc$(ramp + noise) End Sub
Function ramp() 'this finds if ramp is done & if not returns the current ' numeric value to be sent to the TU For i = 1 TO 10
****************************** End Sub
Sub opToTU ' this converts the nrcommandToTU or basicTUcommand$ to the final command for the TU IF parmCommand THEN commandForTU$ = LEFT$(netIpCommand$, 1) + nnn2asc$(calibrate()) ELSE commandForTU$ = basicCommandForTU$ END IF print #ComHandle, commandForTU$ End Sub
********************
End Sub
'----------------------------- 3rd level subs ----------------------
Sub parseParmCommand Com$ ' expects Com$ in standard rawCommand$ format (friendlies are pre conveted by convertFriendlyToNet) ' produces the netcommand, and the data to drive the ramp and noise real time routines parmCommand = True netIpCommand$ = Com$ **********************************
Next one works ****************************** end sub
Sub pauseClick handle$ pauseMode = True doStep = False End Sub
|
|
|
Post by Alyce Watson on Jan 20, 2013 6:46:02 GMT -5
Thanks for posting. All of them work properly for me. Have you tried clicking the "refresh" button that is next to the combobox list?
Perhaps in your original code you have hidden, non-visible characters at the starts of these lines?
I'll investigate further and see if I can figure out why these lines are failing to be listed, but so far I cannot find a problem.
Thanks.
|
|
|
Post by petermat on Jan 21, 2013 0:20:38 GMT -5
It was the hidden characters thing - sorry for your trouble and thanks for the help.
For info, in some cases the problem was in the comment on the same line as the function / sub name rather than in 'real code'.
Thanks again petermat
|
|
|
Post by Alyce Watson on Jan 21, 2013 6:06:39 GMT -5
It was no trouble at all. I'm glad we found the problem!
|
|