Database tüddelei DBHanlder läuft gut für DIESE Datanbank struktur... App begonnen aber weit entfernt von gutem Stand
28 lines
652 B
Plaintext
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
|