Announcement

Collapse
No announcement yet.

Suggestion for versions of PB/DOS

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

  • Gary Stout
    replied
    Originally posted by Tom Hanlin:
    SHARED already produces global variables, yes? Or are you looking
    for some different functionality?
    Just to bring the keyword GLOBAL=SHARED to the dos compiler so that
    when switching from the windows compilers back to the dos compiler,
    it would be easier to remember if they were the same. No big deal,
    just throwing out the suggestion. But you are right, SHARED does
    the same as GLOBAL.

    Thanks,





    ------------------
    Gary Stout
    [email protected]

    Leave a comment:


  • Tom Hanlin
    replied
    SHARED already produces global variables, yes? Or are you looking
    for some different functionality?

    Constants (or equates) are on the list.

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:


  • Gary Stout
    replied
    Tom,

    These may already be on the list, but could you add
    GLOBAL Variables and $Variable to the list.

    Thanks,


    ------------------
    Gary Stout
    [email protected]

    Leave a comment:


  • Roland Haeder
    replied
    Thanks

    ------------------
    Keep always smooth

    Leave a comment:


  • Gary Stout
    replied
    Roland,

    I believe you will need to use
    GLOBAL Version$


    No.... nevermind... I have been using the windows compilers for
    so long now....

    SHARED Version$ will work just fine.

    PUBLIC is another one that might be useful if you are using external
    units or libraries.


    Thanks,

    ------------------
    Gary Stout
    [email protected]

    Leave a comment:


  • Roland Haeder
    replied
    Yes, like this:

    SHARED VERSION$

    VERSION$ = "v0.00.06"

    This should (?) work.

    ------------------
    Keep always smooth

    Leave a comment:


  • Tom Hanlin
    replied
    I'll be glad to add it to the feature requests. In the meantime,
    perhaps a variable would do?

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:


  • Roland Haeder
    started a topic Suggestion for versions of PB/DOS

    Suggestion for versions of PB/DOS

    Hi,

    I have changed from QuickBASIC to PowerBASIC yesterday and I'm missing a real nice feature:

    - string constants

    I use this e.g. to include version numbers with ease in my programs:
    CONST VERSION$ = "v0.00.06"

    Could be a good idea for the next release.

    ------------------
    Keep always smooth
Working...
X