This section describes how to compile and run example source code in .NET3.
You can compile the example source code from the command line using the csc compiler and referencing the file C8-x.y.z.dll, where x.y,z is the Sybase CEP Engine version number. You can also load the project file Examples.csproj into Visual Studio, set up a reference to the file C=8.x.y.z.dll, and then compile from within Visual Studio.
Running the first example produces output that looks similar to this:
Ts,SensorID,Reading 1206999928816643,Rw,2.08615 1206999928926019,YH,9.3957 1206999929035394,Xo,6.69305 1206999929144770,qj,5.507 1206999929254146,N4,2.71035 1206999929363521,UF,4.9583 1206999929472897,rk,0.62637 1206999929582273,eV,4.72496 1206999929691649,TY,3.39727 1206999929801024,Mn,8.46074 1206999929910400,pY,1.80193 1206999930019776,OR,8.98612 1206999930129151,by,6.31523
The first line lists the column names from the schema, while the remaining output is a list of the rows (tuples) from the data stream.