Mail Archives: djgpp/1997/08/27/15:51:46
From: | "Kobus Retief" <chris DOT retief AT pixie DOT co DOT za>
|
Subject: | Re: [Q] using int 0x21 to print text ..........
|
Newsgroups: | comp.os.msdos.djgpp
|
Message-ID: | <01bcb30d$b3325be0$0d3f0bc4@Christine.pix.za>
|
NNTP-Posting-Host: | pm1-13.pta.pix.za
|
Date: | 27 Aug 97 17:22:28 GMT
|
Lines: | 19
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
<Snip>
>
> myHappy = "Hello, world!";
>
<Snip>
This won't work, even if you allocate the mem. According to my interrupt
list
(Ralf Brown) you have to end the string with a '$' or it'll just keep on
printing after the end.
You code should be:
<Snip>
myHappy = "Hello, world!$";
<Snip>
- Raw text -