× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks John, that is exactly what I needed.

-----Original Message-----
From: John Larimer [mailto:jklarimer@xxxxxxxxxxx] 
Sent: Tuesday, August 26, 2003 9:13 AM
To: code400-l@xxxxxxxxxxxx
Subject: RE: Code400 & parsing of .bas source & the underscore "_" charact
er

Don:

What I think is happening is the parser is flagging underscores as errors.  
I don't know how to change the parser but you could change the attributes 
applied to errors.

Click on 'Options' 'Profiles' 'Language Load' to open the file bas.lxl.

Change the error attributes to something like blue/yellow.

Save your modified version as bas.lxu.  Now both profiles will be loaded 
when you open a .bas document.  Your modified version will override the 
original.

Good Luck!

John

>From: Don Brubaker <DBrubaker@xxxxxxxxxxxxx>
>Reply-To: CODE/400 Discussion & Support <code400-l@xxxxxxxxxxxx>
>To: "'CODE/400 Discussion & Support'" <code400-l@xxxxxxxxxxxx>
>Subject: RE: Code400 & parsing of .bas source & the underscore "_" charact 
>er
>Date: Mon, 25 Aug 2003 13:54:24 -0400
>
>
>Thanks but, I want Code/400 to parse the basic source code using the .BAS
>profile. The problem is that the underscore character is not parsed
>correctly. The string "CONSTANT_MATH_PI" is displayed with the underscore 
>as
>a different color (red background, white foreground). I would like to get
>the "red blocks" out of the constant names!
>
>
>-----Original Message-----
>From: John Larimer [mailto:jklarimer@xxxxxxxxxxx]
>Sent: Monday, August 25, 2003 12:21 PM
>To: code400-l@xxxxxxxxxxxx
>Subject: Re: Code400 & parsing of .bas source & the underscore "_" 
>character
>
>Don:
>
>After the file is loaded, you can change the profile being used by clicking
>on 'Options' 'Change Profile' and then selecting the profile you want to 
>use
>
>from the drop down list.  The profile 'dft' does not have any token
>highlighting.
>
>Review the help from the Change Profile form you will find additional
>information on modifying the profiles.
>
>John
>
>
> >From: Don Brubaker <DBrubaker@xxxxxxxxxxxxx>
> >Reply-To: CODE/400 Discussion & Support <code400-l@xxxxxxxxxxxx>
> >To: "'code400-l@xxxxxxxxxxxx'" <code400-l@xxxxxxxxxxxx>
> >Subject: Code400 & parsing of .bas source & the underscore "_" character
> >Date: Mon, 25 Aug 2003 11:23:47 -0400
> >
> >I would like to change color attribute of the underscore character "_" in
> >the BAS language profile.
> >
> >
> >
> >I am using Code to work on some Client Access 5250 "macros" which start 
>out
> >life as VBScripts. When I define constants like "USE_THIS_STRING", the
> >underscore charter shows up as white on a red background. Very confusing
> >and
> >hard to read. The rest of the characters in the constant name (USE, THIS,
> >STRING) have normal coloration, blue on white background. I have also
> >noticed that "[" and "&" characters are displayed white on red.
> >
> >
> >
> >Thanks for any help, Don.
> >
> >
> >
> >_______________________________________________
> >This is the CODE/400 Discussion & Support (CODE400-L) mailing list
> >To post a message email: CODE400-L@xxxxxxxxxxxx
> >To subscribe, unsubscribe, or change list options,
> >visit: http://lists.midrange.com/mailman/listinfo/code400-l
> >or email: CODE400-L-request@xxxxxxxxxxxx
> >Before posting, please take a moment to review the archives
> >at http://archive.midrange.com/code400-l.
> >
> >NOTE: WDSc for iSeries disucssion has it's own mailing list.
> >Information can be found at
> >http://lists.midrange.com/cgi-bin/listinfo/wdsc-l
> >
>
>_________________________________________________________________
>Enter for your chance to IM with Bon Jovi, Seal, Bow Wow, or Mary J Blige
>using MSN Messenger http://entertainment.msn.com/imastar
>
>_______________________________________________
>This is the CODE/400 Discussion & Support (CODE400-L) mailing list
>To post a message email: CODE400-L@xxxxxxxxxxxx
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/mailman/listinfo/code400-l
>or email: CODE400-L-request@xxxxxxxxxxxx
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/code400-l.
>
>NOTE: WDSc for iSeries disucssion has it's own mailing list.
>Information can be found at
>http://lists.midrange.com/cgi-bin/listinfo/wdsc-l
>_______________________________________________
>This is the CODE/400 Discussion & Support (CODE400-L) mailing list
>To post a message email: CODE400-L@xxxxxxxxxxxx
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/mailman/listinfo/code400-l
>or email: CODE400-L-request@xxxxxxxxxxxx
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/code400-l.
>
>NOTE: WDSc for iSeries disucssion has it's own mailing list.
>Information can be found at 
>http://lists.midrange.com/cgi-bin/listinfo/wdsc-l
>

_________________________________________________________________
Enter for your chance to IM with Bon Jovi, Seal, Bow Wow, or Mary J Blige 
using MSN Messenger http://entertainment.msn.com/imastar

_______________________________________________
This is the CODE/400 Discussion & Support (CODE400-L) mailing list
To post a message email: CODE400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/code400-l
or email: CODE400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.

NOTE: WDSc for iSeries disucssion has it's own mailing list.
Information can be found at
http://lists.midrange.com/cgi-bin/listinfo/wdsc-l

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.