Project

General

Profile

Language for custom code

-1

Nicolas Gachadoit
Added 2 months ago

Hello,

Can the basic custom code block be programmed only in C, or also in C++ ?

My code has a class inside and I get the following error:

unknown type name 'class'

Thanks,

Nicolas

Parth Maheshwari (พาร์ท) 2 months

Hi Nicolas, thank you for waiting.

1. The basic custom code block can only be programmed using C.

2. Regarding the error you get, could you please attach the model file and the related custom C library files? We need to reproduce the error on our end to find a solution.

Thank you.

--
Parth Maheshwari
Application Engineer