Search found 15 matches

by Mark Peenstra
Tue Jun 23, 2009 1:34 pm
Forum: Code Folding
Topic: Code folding request for Informix 4gl
Replies: 17
Views: 26043

Code folding

Jussi; I think we are there. There is an inconsistency allowed by the program that the END CONSTRUCT is optional (in some cases). If you have a CONSTRUCT and no END CONSTRUCT, the folding of course goes beyond where it should, but there is no way to tell it where to stop. We will just have to be awa...
by Mark Peenstra
Mon Jun 22, 2009 3:42 pm
Forum: Code Folding
Topic: Code folding request for Informix 4gl
Replies: 17
Views: 26043

Folding

Jussi;

Yes I agree, the Options statement cannot not come into play. It should be enough to look for the second word in these cases.
Thanks
Mark
by Mark Peenstra
Mon Jun 22, 2009 3:02 pm
Forum: Code Folding
Topic: Code folding request for Informix 4gl
Replies: 17
Views: 26043

Folding reply

Jussi; Inside of an OPTIONS section you can have: INPUT WRAP INPUT NO WRAP MENU LINE We would want to ignore all of these in favor of INPUT and MENU. Those are the only ones I can find that would interfere with begin/end points. I think you are already handling the DISPLAY word by itself? It should ...
by Mark Peenstra
Mon Jun 22, 2009 2:18 pm
Forum: Code Folding
Topic: Code folding request for Informix 4gl
Replies: 17
Views: 26043

Questions reply

Jussi;

Do you have any kind of an 'exclusion list' where you can say: First word= INPUT but not if second word = WRAP ?

A 4gi is a compiled version of a 4gl, so one would not bring it up in an editor. We can ignore it.

Thanks
Mark
by Mark Peenstra
Mon Jun 22, 2009 12:31 pm
Forum: Code Folding
Topic: Code folding request for Informix 4gl
Replies: 17
Views: 26043

Code folding for Informix 4gl

Jussi; One more little quirk. The folding process seems to be confused by a section called "options". Something in there is making it miss all other keywords and fold all the way to the end of the file. In the updated example, the MAIN/END MAIN does this as well as the IF/END IF section at lines 66-...
by Mark Peenstra
Fri Jun 19, 2009 4:05 pm
Forum: Code Folding
Topic: Code folding request for Informix 4gl
Replies: 17
Views: 26043

One more folding issue

This is very Cool... We are almost there. I forgot about this goofy syntax that is allowed. You can have an IF THEN/END IF all on one line, so if it is a simple one, people do use it this way. The folding is going all the way down to the END FUNCTION. See the last few lines in the modified sample. M...
by Mark Peenstra
Fri Jun 19, 2009 2:28 pm
Forum: Code Folding
Topic: Code folding request for Informix 4gl
Replies: 17
Views: 26043

Sample for Informix 4gl folding

Jussi; Here is a sample. It may be just the DISPLAY by itself that is causing all the issues I am seeing. When I comment out the DISPLAY statements, things appear to work much better. Thanks MAIN DEFINE i integer FOR i = 1 to 100 -- do something END FOR #comment DECLARE t_curs CURSOR FOR SELECT * FR...
by Mark Peenstra
Fri Jun 19, 2009 12:25 pm
Forum: Code Folding
Topic: Code folding request for Informix 4gl
Replies: 17
Views: 26043

Some issues with informix 4gl code folding

Jussi; Thanks for the quick turnaround on the folding. :D A couple of issues so far: 1) It seems to be getting confused by comments on the same line as the keywords. Comments are allowed on the same line as a keyword, such as: FUNCTION func_name -- statements END FUNCTION ##DECLARE_CURSORS In this c...
by Mark Peenstra
Thu Jun 18, 2009 9:21 pm
Forum: Code Folding
Topic: Code folding request for Informix 4gl
Replies: 17
Views: 26043

Code folding request for Informix 4gl

Jussi; I would like to request support in code-folding for the Informix 4gl language. Here are the details requested by the first post in this area. Extensions: .4gl Line Comment1: # Line comment2: -- Block Comment: { } Case Sensitive: NO Begin: FOR End: END FOR Begin: CASE End: END CASE Begin: WHIL...
by Mark Peenstra
Mon Sep 17, 2007 1:53 pm
Forum: General
Topic: Printing the difference tool output
Replies: 5
Views: 9480

Installation files missing

Jussi;

I must have done something wrong in installing 3.96j. python24.dll is not in my Zeus directory, and several other files are missing also, when I compare them side-by-side.

I was following the instructions in the post from 13 Aug 2004. Let me try this again.

Sorry. :(

Mark.
by Mark Peenstra
Mon Sep 17, 2007 12:14 pm
Forum: General
Topic: Printing the difference tool output
Replies: 5
Views: 9480

Getting an error after installing 3.96j

Jussi; Thanks for the update of the program. I followed the instructions on getting the update, and now I get a box that comes up as Zeus is starting up. The box title is "System Message" and then inside the box it says " Unexpected error loading 'C:\Program Files\Zeus\scriptpy.dll' macro scripting ...
by Mark Peenstra
Thu Aug 16, 2007 2:21 pm
Forum: General
Topic: Printing the difference tool output
Replies: 5
Views: 9480

Printing the difference tool output

Is there any way to print the results of the Difference tool with the same "strikethrough" font for the lines that are no longer in the "original" version of the file? I really like the way it displays on the screen, but the printout just has the <! and !> to denote the changes. (printing in COLOR i...
by Mark Peenstra
Tue May 29, 2007 12:36 pm
Forum: Comments and Suggestions
Topic: Integration with SFTP Drive
Replies: 3
Views: 8985

Integration with SFTP Drive

Jussi; Thanks for the response. It is better in Zeus now, I downloaded and installed the 3.96g patch. However, it still does not work with files and directories that have any captial letters in them. It displays everything in lower case. (Unix and Linux OS's are case-sensitive. The capital letters m...
by Mark Peenstra
Thu May 24, 2007 4:01 pm
Forum: Comments and Suggestions
Topic: Integration with SFTP Drive
Replies: 3
Views: 8985

Integration with SFTP Drive

There is a program on the market called sftpdrive from sftpdrive.com which creates a network drive letter using SSH calls to a unix/linux machine. I am running the test drive of this program and in Windows Explorer and in Word, it acts as you would expect in navigating through a drive and folders. I...
by Mark Peenstra
Mon Apr 09, 2007 5:28 pm
Forum: General
Topic: SSH Connection is failing...
Replies: 3
Views: 9364

Unable to get files via SH

I am having the same problem as this previous poster.

Does anyone have suggestions? FTP works, but SSH does not.

Thanks

Mark Peenstra