Announcement

Collapse
No announcement yet.

PB9: Keywords list

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PB9: Keywords list

    I was searching for PB9 keywords list in order to add them into my editor for syntax highligh they seems not yet out. Do you plan to add them into download area?

    Thanks a lot.
    Eros

  • #2
    Originally posted by Eros Olmi View Post
    I was searching for PB9 keywords list in order to add them into my editor for syntax highligh they seems not yet out. Do you plan to add them into download area?

    Thanks a lot.
    Eros
    I noticed that many 3rd party editors do not support PB as one of their defaults eg Ultraedit etc. I assume a lot of the guys would use 3rd party editors especially those who go across different languages

    Comment


    • #3
      I think it is just a matter of task priority in all the things PB staff has to do.
      Usually they always post updated keywords list in http://www.powerbasic.com/support/downloads/windows.htm

      Comment


      • #4
        PB9 Keyword Reference

        Hi Eros;


        The PB9 Keyword Reference is located under Help Desk.
        Open Help Desk, select PowerBASIC 9 for Windows, then click the Contents button. Click Keyword Reference, then click Keyword Quick Finder.

        Comment


        • #5
          nice joke Walter.

          I'm talking about a text file containing the list of all PB9 keywords.
          Such a list is than used to create specific files need by programmers editors in order to understand language keywords and perform syntax highligh.

          For example, the following is the Keyword List for PB/Win 8, PB/CC 4 and PB/Forms 1.5:

          Comment


          • #6
            Not really a joke.
            I saved the help page to a TXT file, filtered a bit the results, and got this list of reserved keywords.
            If it can be of some help in the meantime...

            Bye!
            Attached Files
            -- The universe tends toward maximum irony. Don't push it.

            File Extension Seeker - Metasearch engine for file extensions / file types
            Online TrID file identifier | TrIDLib - Identify thousands of file formats

            Comment


            • #7
              Thanks Marco.

              It is not exactly the keywords list but the commands list. In a keywords list every keyword is listed only once. In your file there are many repetitions like "CONTROL", "GET", SET" ...

              Also some keywords are not listed. For example all data types (LONG, QUAD, VARIANT, ...) because in the help file they are not listed under the same chapter

              But yes, it is a good start.

              Comment


              • #8
                Any update?

                Eros,
                Were you able to obtain the keyword file that you were looking for?

                I'd like to add a PowerBasic syntax file for Notepad++

                Thanks,
                -John

                Comment


                • #9
                  "The trouble with quotes on the Internet is that you can never know if they are genuine." - Abraham Lincoln.

                  Comment


                  • #10
                    Keyword lists for PB/CC 5, PB/Win 9, and PB/Forms 1.5 Public Domain by PowerBASIC Inc.

                    Rgds, Dave

                    Comment


                    • #11
                      Arthur, Dave,

                      Thanks! I'm in business!!

                      -John

                      Comment


                      • #12
                        Neither list seem complete

                        In a Short PB App try this...

                        The DDT ListView statement uses these

                        Code:
                        #COMPILE EXE
                        #DIM ALL
                        
                        FUNCTION PBMAIN () AS LONG
                             DIM MMDDYYYY AS LONG
                             DIM DDMMYYYY AS LONG
                             DIM YYYYMMDD AS LONG
                             DIM YYYYMMDD AS LONG
                             MMDDYYYY=1
                             ? "X="+Str$(MMDDYYYY)
                        END FUNCTION
                        Nathan Maddox

                        Comment

                        Working...
                        X