Premature send(tabs?!?! ;/)

void main()
{

   version(BIOS)
   {
       import iBIOS;
       BIOSOut("Hello World");
   } else
   {
       writeln("Hello World");
   }
}


When compiled appropriately will create a bootable executable that displays the string. Else will create an OS specific executable that prints the string.

(for demo purposes only)

This should be seamless as I will be switching functionality regularly.


Reply via email to