🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #371

Re: ControlCodes

#371
From: Marc Rohloff TeamB
Date: Thu, 24 Mar 2005 01:33
14 lines
1561 bytes
On Wed, 23 Mar 2005 15:38:03 -0600, Jeff wrote:

> I am using control codes to send a string to a display device, through a 
> comport.  In Delphi I use #5, #30, #15 in the string to control the 
> device.  What would be the C# equivalent?

string s = "do this\036(Octal) or this\x1e, there are also some
special characters like \t, \r and \n";

Lookup 'Escape Sequences' in the help file.

-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID: <1cq5f4vm4pd55.dlg@marcrohloff.40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4241e1bf$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,d890d3e2693c01d8
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: ControlCodes
Newsgroups: borland.public.csharpbuilder.language.csharp
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <4241e1bf$1@newsgroups.borland.com>
Date: Wed, 23 Mar 2005 20:33:09 -0500
Message-ID: <1cq5f4vm4pd55.dlg@marcrohloff.40tude.net>
X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR
X-Antivirus: avast! (VPS 0512-0, 03/22/2005), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 4.225.102.179
X-Trace: newsgroups.borland.com 1111627761 4.225.102.179 (23 Mar 2005 17:29:21 -0800)
Lines: 14
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail