PDA

View Full Version : To Webmaster...ampersands mis-interpreted



VirtualAce
10-09-2001, 07:39 PM
Recently I posted concerning an interrupt related question. I found out the when you use ampersands prior to regs it comes out as a copyright symbol and an s. I even did this in a code section and the same thing happened.

What is going on and how do I correctly use the ampersand in code examples? If we cannot use them this is a huge problem as you and I know that C requires them to be used correctly.

Example outside of code block:

union REGS regs;
regs.x.ax=0x03;
int86(0x33,&regs,&regs);

Example inside of code block:



union REGS regs;
regs.x.ax=0x03;
int86(0x33,&regs,&regs);


If this question has already been answered sorry for the inconvenience of repeating yourself. I read the vbCode instructions and found nothing about this problem.

DavidP
10-09-2001, 08:03 PM
hmm...maybe making them spaced out would work...lets try it:



union REGS regs;
regs.x.ax=0x03;
int86(0x33, & s, & s);

doubleanti
10-09-2001, 11:21 PM
we should have no special formatting in code tags... all in favor?