Home AMX User Forum NetLinx Studio

NetLinx comments

yuriyuri Posts: 861
Hi all,

i just noticed a strange thing with Netlinx studio...
When i do the following, the {dvTP, 19} entry is commented out... I have no idea whats happening, and i cant recall seeing it before. Im using the latest Netlinx studio.
DEVCHAN dcDVDControl[]=
{
    {dvTP, 15},	// Play
    {dvTP, 16},	// Stop
    {dvTP, 17},	// Pause
    {dvTP, 18}, // Rew
    {dvTP, 19},	// Fwd
    {dvTP, 20}	// Record	
}

Comments

  • TurnipTruckTurnipTruck Posts: 1,485
    Could it be that you are set for an Axcess master?
  • DHawthorneDHawthorne Posts: 4,584
    Cut-and-pasted into Studio, your example, as posted, is fine. My guess is there is a hidden character in there messing up the syntax highlighter, or preventing Studion from seeing the newline after the preceding comment; try retyping the segment. Something I've done to myself a few times is cut and past a code block and accidentally leave a character in that got pushed off screen where it wasn't obvious.
  • jjamesjjames Posts: 2,908
    I've seen this multiple times, and all I do is make the line that is completely commented go up to the line above (by hitting backspace) and then hit enter to put it back. That usually fixes; I'm not sure what the deal is though.
  • I have seen this as well....

    For me, the high-lighting showed it as a comment, but the code worked properly
  • yuriyuri Posts: 861
    I have been testing this some more, and indeed, it higlights the code, but doesnt actually comment it out. If i fiddle with the spacing and/or enter sometimes, it disappears.
    Odd, very odd, but i can live with it :)

    thanks for the replies
  • yuri wrote:
    I have been testing this some more, and indeed, it higlights the code, but doesnt actually comment it out. If i fiddle with the spacing and/or enter sometimes, it disappears.
    Odd, very odd, but i can live with it :)

    thanks for the replies

    I have seen this too. If you turn on Show End of Line under the Edit you will see what is going on. Sometimes a CR from a CR/LF pair disappears. I usually see the problem during a resequence (Sequentially Renumber Section).
  • yuriyuri Posts: 861
    B_Clements wrote:
    I have seen this too. If you turn on Show End of Line under the Edit you will see what is going on. Sometimes a CR from a CR/LR pair disappears. I usually see the problem during a resequence (Sequentially Renumber Section).

    jup, use that alot, so thats probably the problem :)
Sign In or Register to comment.