Article View: comp.sys.ibm.pc.misc
Article #10897(q)basic -> C
From: Francis Ho
Date: Thu, 06 Jun 1991 18:54
Date: Thu, 06 Jun 1991 18:54
23 lines
1159 bytes
1159 bytes
what is the C equivalent (MSC 5.1 or TC/TC++) of the (Q)basic statements:
resumecom% = 11 /* is this an int? */
ctrladdress% = &H3FC /* COM1 */
OUT ctrladress%, resumecom%
/* incidentally, why the '%', is this to signify ints ? */
is the TC/TC++ version of the above :
#define COM1 0
[...]
bioscom(1, '\11', COM1);
or ^^^^^ (char)(11)
neither seems to work
please send replies to francis@cunixf.cc.columbia.edu
Francis Ivanos Demma Ho You can dig for silver with a shovel of gold
francis@cunixF.cc.columbia.edu You can search for a lover and a hand to hold
You can wait forever or so I've been told
Technical Details
Message-ID:
<1991Jun6.185414.11995@cunixf.cc.columbia.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!francisShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!francis From: francis@cunixf.cc.columbia.edu (Francis Ho) Newsgroups: comp.sys.ibm.pc.misc Subject: (q)basic -> C Message-ID: <1991Jun6.185414.11995@cunixf.cc.columbia.edu> Date: 6 Jun 91 18:54:14 GMT Reply-To: francis@cunixf.cc.columbia.edu (Francis Ho) Organization: Columbia University Lines: 23