Simvar for destination id and altitude like in the pc-24

How to get the destination Name and altitude like in the PC-24? Thanks

char code[128];
sprintf(code, “(‘%s’) (>L:DEST_ID, String)”, destId);
execute_calculator_code(code, NULL, NULL, NULL);

What’s wrong with that? Thanks

Can you clarify what you mean about the PC-24? Maybe a screenshot with it circled.