WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: jrball on January 31, 2014, 07:26:52 PM

Title: Line numbers in Winbatch Studio?
Post by: jrball on January 31, 2014, 07:26:52 PM
While developing a script, I often make mistakes. ;)   And I get an error message that tells me some like "Undefined variable in line 51".  Which is nice, but darned if I can figure out how to display line numbers in Winbatch Studio!  Can Winbatch Studio display line numbers and, if so, where's the switch???

Thanks!
Title: Re: Line numbers in Winbatch Studio?
Post by: JTaylor on January 31, 2014, 09:14:42 PM
While you are waiting on a real answer...since I almost never use it I'm no expert...

You can see it in the status bar and can also use Ctrl+g to go to a line.

Not sure about displaying the numbers beside each line though.

Jim
Title: Re: Line numbers in Winbatch Studio?
Post by: Deana on January 31, 2014, 11:28:51 PM
No line number display however you can go to a specific line using the menu 'Search|Go To Line or hotkey ctrl+g. Or simply place your cursor on the suspect line and check the line number displayed in the lower right hand corner of WinBatch Studio.
Title: Re: Line numbers in Winbatch Studio?
Post by: jrball on February 01, 2014, 04:50:57 PM
Okay!  Thanks!
Title: Re: Line numbers in Winbatch Studio?
Post by: td on February 03, 2014, 06:45:36 AM
Probably not as handy as using the Ctrl+G key combo but you can also view your script with line numbers by selecting the "Print Preview" menu item from the "File" menu. 
Title: Re: Line numbers in Winbatch Studio?
Post by: nickedw on February 08, 2014, 08:49:01 AM
I think what would be real useful is to have a line number display during debug mode. When debugging next and previous lines of code are displayed. but not where in script the line numbers being exceuted are.

Thanks
Title: Re: Line numbers in Winbatch Studio?
Post by: rothestar on February 17, 2014, 08:05:53 AM
Line numbers are displayed in the lower right corner in Winbatch Studio.

best regards
Henrik