Announcement

Collapse
No announcement yet.

Again, C to Pb...

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

  • Again, C to Pb...

    Found another strange define. Can anybody give its Pb equivalent?...
    Code:
    #define DATA_B3_RESP_DATAHANDLE(x) ((x)->DataHandle)
    ------------------
    Regards,
    Peter
    Regards,
    Peter

  • #2
    x seems to be a struct (UDT in PB) with the .DataHandle member, a PB translation could be:

    Code:
    MACRO DATA_B3_RESP_DATAHANDLE(myUDT) = myUDT.DataHandle
    If could be a pointer, in which case, just add @ before the myUDT reference.


    ------------------
    contact me
    kgpsoftware.com - Free and Commercial Software
    kgpsoftware.com | Slam DBMS | PrpT Control | Other Downloads | Contact Me

    Comment

    Working...
    X