Skip to content

Commit

Permalink
Update documentation and samples
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejlach committed Jan 14, 2015
1 parent 37afa82 commit bdfa408
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Publisher/Publisher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public static void Main(String[] Args)
{
q.Open();
Console.WriteLine("conn: " + q + " protocol: " + q.ProtocolVersion);
Console.WriteLine("WARNING: this application overwrites: .u.upd function on q process");
Console.WriteLine("Press <ENTER> to close application");
q.Sync(".u.upd:{[x;y] show (x;y)};");

Expand Down
3 changes: 3 additions & 0 deletions doc/Usage-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ namespace qSharp.Sample

### Data publisher
This example shows how to stream data to the kdb+ process using standard tickerplant API:
> :white_check_mark: Warning:
> this sample code overwrites: .u.upd function on q process
```csharp
using System;
Expand All @@ -316,6 +318,7 @@ namespace qSharp.Sample
{
q.Open();
Console.WriteLine("conn: " + q + " protocol: " + q.ProtocolVersion);
Console.WriteLine("WARNING: this application overwrites: .u.upd function on q process");
Console.WriteLine("Press <ENTER> to close application");
q.Sync(".u.upd:{[x;y] show (x;y)};");

Expand Down

0 comments on commit bdfa408

Please sign in to comment.