Announcement

Collapse
No announcement yet.

Enhancement Request

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

  • Lance Edmonds
    replied
    How pretty!

    Leave a comment:


  • Tim Wisseman
    Guest replied
    Just but a ' in front of your // like this:

    '//////////////////
    '// Ohhh Comments!
    '//
    '/////////////////
    '//
    '//

    That is what I do, it looks very neat.


    ------------------

    Leave a comment:


  • Edwin Knoppert
    replied
    That's not the issue.

    The statement don't bring PB to close to C is something i don't support.
    If PB would accept C notation, why complain?
    Just don't use it if you don't want to.
    (ASM is included, you won't here me complain)

    The matter of the .h files is that they 'most likely' are gonna be used by my project(s).
    So renaming/converting is something i already do.
    Therefore my suggestion to combine these.
    It simply saves time.

    There are NO basic resource files!

    ?

    ------------------
    [email protected]

    Leave a comment:


  • Michael Mattias
    replied
    But it would be great if we could use .h files (#define) !!
    In the source code there is PB/Win32 source code to read a ".h" file, find all the "#define" and create a "8.bi" file with all the values changed to pb equates.

    That is this line:

    Code:
    #define WM_MY_COOL_MESSAGE     8000
    becomes:
    [code]
    %WM_MY_COOL_MESSAGE = 8000&
    [code]

    I don't have the url ref handy, but if you search under my name it should come up.

    Code is easy to modify if you want to do more with it.

    MCM

    Leave a comment:


  • Cecil Williams
    Guest replied
    C and C++ can also be remmed as /* whatever
    whatever here too
    */

    Not just limited to "//". The "//" is generally used
    when one has a single line comment. I agree with Lance
    and Hutch, Basic is Basic and C is C.

    Cheers
    Cecil

    ------------------

    Leave a comment:


  • Steve Hutchesson
    replied
    There is a simple solution, use global replace in your text editor
    and replace "//" with "'"

    As some headers use the old C comment notation, doing only the C++
    would be little use. PB already has both basic and asm notation,
    why bother with redundant notation, C/C++ is C/C++, basic is basic.

    ------------------

    Leave a comment:


  • Edwin Knoppert
    replied
    Reply to Lance:

    But it would be great if we could use .h files (#define) !!
    Resources are C, PB uses it


    ------------------
    [email protected]

    Leave a comment:


  • Lance Edmonds
    replied
    It's been touted before, and the concensus from R&D is that PowerBASIC is PowerBASIC and not C/C++. That said, I'll still pass your request along though... nothing ventured, nothing gained!

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Scott Turchin
    started a topic Enhancement Request

    Enhancement Request

    Is there any chance PB Would consider allowing // to act as a REM statement as well as the " ' " ???

    I Find that when I am porting code I have to convert all of these, not a big deal, but sure would be nice


    Scott

    ------------------
    Scott
    mailto:[email protected][email protected]</A>
Working...
X