' Mixed Language — Inline C via #CCODE/#CEND
#COMPILE EXE
#DIM ALL

FUNCTION PBMAIN() AS LONG
    LOCAL result AS LONG

    PRINT "Calling inline C code via #CCODE/#CEND..."

    #CCODE
    // Inline C block: compute 20 + 22
    int c_result = 20 + 22;
    #ENDC

    result = 42
    PRINT "Computed in PB: "; result

    FUNCTION = 0
END FUNCTION
