cancel
Showing results for 
Search instead for 
Did you mean: 

token pasting errors

VNdir.1
Associate II

I am trying to do token pasting to defined macros but it fails using this platform. main.h contains the definitions and the other file is my tokenpasting attempt getting errors but it works on netbeans

1 ACCEPTED SOLUTION

Accepted Solutions

I realised that the reason why it worked is because I was using the token directly. When I use the variable b the token pasted is the variable name.

View solution in original post

2 REPLIES 2
Wijeden RHIMI
ST Employee

Hello@VNdir.1

Could you please provide a complete screenshot to understand the difference between functions and help us reproduce this behavior and further analyze it.

Kind regards,

Wijeden,

I realised that the reason why it worked is because I was using the token directly. When I use the variable b the token pasted is the variable name.