Files
imdd_silas/Functions/helper_functions_community/schemer/develop/sample.tlc
Silas Labor Zizou 99fe2ca106 Commit Friday evening.
PDFA and EXFO Laser are now part of the family
2024-10-25 20:31:50 +02:00

28 lines
652 B
Plaintext

%implements Sample "C"
%% Function: SampleFunction ===============================================
%% Abstract:
%% Doesn't do anything, but does contain some TLC code
%% with syntax highlighting.
%%
%function SampleFunction(inputVal, indexVal) void
%% Need this library to use FILE
%<SLibAddToCommonIncludes("<stdio.h>")>
sprintf("index: %i", indexVal)
%openfile testFile
Some text to verbosely go into the file.
%closefile testFile
%assign myVar = STRING(ParamSettings.Input)
char fileName[%<RTWMaxStringLength>] = "%<myVar>";
%if flagTrue
void *tp = %<nulldef>;
%else
%return ""
%endif
%% [EOF] sample.tlc