For Programmers: Free Programming Magazines  


Home > Archive > Matlab > June 2007 > Any easy way to find lines of code missing semi-colons (;) at the









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Any easy way to find lines of code missing semi-colons (;) at the
Pat

2007-06-29, 7:14 pm

When doing code development I often forget the semicolon (;) at the end
of a line to suppress printing. As a result, when I run the code I
often end up with lots of unwanted results printing out in the command
window. To track down the lines that are missing the ";" can be very
tedious however, especially if the code is large and complex with lots
of subroutines.

So is there any easy way to find the lines that are printing? I'm
hoping there's a trick or two out there might make this less of a chore!

Thanks for any suggestions. -Pat
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com