Announcement

Collapse
No announcement yet.

Problem it String constant in DDT

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

  • Eric Pearson
    replied
    > $CLASSNAME & ""
    > That didn't work.

    But did you try...

    "" & $CLASSNAME

    It works fine for me.

    -- Eric

    ------------------
    Perfect Sync: Perfect Sync Development Tools
    Email: mailto:[email protected][email protected]</A>

    Leave a comment:


  • E B Knoppert
    Guest replied
    Wow!, tried it;
    $CLASSNAME & ""

    That didn't work.
    Let's say: almost good..

    Thanks,


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

    Leave a comment:


  • Lance Edmonds
    replied
    You can... prefix the string equate with a NUL string in the CONTROL ADD statement:

    $BTN = "BUTTON"
    CONTROL ADD "" + $BTN, hDlg,...

    Unfortunately the same technique does not work for DECLARE statements however - they require an explicit string literal.

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

    Leave a comment:


  • E B Knoppert
    Guest started a topic Problem it String constant in DDT

    Problem it String constant in DDT

    Whould like to use $MYCLASSNAME in a Control add statement.

    This is also the case with declarations. (ext. DLL)
    With a string constants it would be easier to maintain.

Working...
X