PDA

View Full Version : IDE FineLine Viewer



Normnet
- 18th September 2007, 08:35
IDE Fineline Viewer will open a .bas file (basic code) and draw lines between If-Endif, For-Next, Repeat-Until, & While-Wend.
This enables easy debugging of nested code.

See screen shot IDE FineLine Viewer 1.0 (http://tinypic.com/view.php?pic=6bbhylh) Click image to enlarge.




IDE FineLine Viewer v1.0

9-6-07
By Norm Carlberg

Fineline Viewer will open a .bas file (basic code) and draw
lines between If-Endif, For-Next, Repeat-Until, & While-Wend.
This enables easier debugging of nested code.


INSTALLATION:
FineLine is a single file install (no registry entries) with
one txt file created in same location to save the "Last
Modified Folder", last open position and size.
Install on desktop, Cut, copy, paste or delete.


USE:
Enter text into FineLine by one of the three following ways:
1. Paste

2. Press "Browse to File + Fineline" button.

3. Press "Browse to Folder" to select the folder in which to
find the last modified .bas file.
This could be drive "C" or could be "MyCode" folder.
Press "Find LastModified File in Folder + Fineline".
(searches all subfolders)


The third option is fastest because it only requires saving
your basic code before switching to FineLine window and
pressing the "Find LastModified File in Folder + Fineline"
button. Easy to switch between your IDE and FineLine.

Credit roswell_r of REAL Software Forums for the fast search
of folder for last modified .bas file.
Norm completed with search of subfolders.



TIPS:
1. If lines disappear due to 2nd window temporally in front
of FineLine: Exit mouse from FineLine and re-enter.

2. When editing in FineLine save and switch back to
MicroCode Studio IDE. Close and reopen file to refresh.

When editing in MicroCode Studio IDE save and switch to
FineLine and press "Find LastModified File in Folder +
Fineline" button to reopen.

3.Use PageUp & PageDown, and arrow keys for faster scroll's.

4.FineLine is resizable.


Questions?
[email protected]



Download program from post #13 at IDE FineLine Viewer v1.0 (http://www.picbasic.org/forum/showthread.php?t=8215) WARNING: Other Compiler.

Norm

Normnet
- 19th September 2007, 01:20
Above FineLine download site is Proton forum but FineLine is written for both Proton and PicBasicPro as well as others.

Norm

Dave
- 2nd October 2007, 12:41
Normnet , I have found a problem with Fineline. If you have a line starting with a LABEL: and that line happens to be the start of an IF/THEN/ELSE/ENDIF sequence it does not see the keyword IF and reports that you have an orphan ELSE or ENDIF found in the code. Although I don't find any use of this program other than to teach people the basic language, I did notice the problem when I was explaining Branching. Thought you might like to know......

Dave Purola,
N8NTA

Normnet
- 3rd October 2007, 00:06
Noted

Thanks

Norm

Normnet
- 13th November 2007, 04:34
Normnet , I have found a problem with Fineline. If you have a line starting with a LABEL: and that line happens to be the start of an IF/THEN/ELSE/ENDIF sequence it does not see the keyword IF and reports that you have an orphan ELSE or ENDIF found in the code.

Bug corrected.

Scroll down page to download most recent version at IDE FineLine Viewer 1.1 (http://www.picbasic.org/forum/showthread.php?p=50903#post50903)

Norm

Dave
- 14th November 2007, 12:30
Normnet, Thanks... I have had some students asking it the problem has been fixed.. They seem to like it...

Dave Purola,
N8NTA

Normnet
- 19th January 2008, 01:07
See IDE FineLine Viewer (http://www.picbasic.org/forum/showthread.php?t=8215) for v1.3
10x faster search and match.

Reminder to browse down to be certain of downloading the latest version.

Norm

Ted's
- 21st August 2008, 23:49
Nice. Please use your code to create a flow-chart to pbp-code program.

Darrel Taylor
- 22nd August 2008, 06:22
Nice. Please use your code to create a flow-chart to pbp-code program.

OOOOoooo, there's a tough one. flow-chart to pbp-code.

A kinda like the FineLine program, xcept it works better for PROTON. :eek:

Another modification that at least one of our users would like ...

<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2827&stc=1&d=1219381936" />
<!-- 2827 -->

Normnet
- 23rd August 2008, 03:15
Their is a chance I will be writing a PBP FineLine IDE.


Another modification that at least one of our users would like ...
I hadn't thought of a one line FineLine.
Another would be a goto on the right side with an arrow.

Norm