Jump to content

Strictly Techies Only


Andy Millne
 Share

Recommended Posts

It's probably not likely to be used (maybe next decade) but the capability is there so I thought I might as well post on the off chance. We have an API in place if there are any local websites or organisations who are ahead of the curve as far as the Internet goes and want to use it.

PM for more info. Methods exist for posting new topics, registering users, sending PMs and a lot more besides.

Link to comment
Share on other sites

Is there an order_a_pizza method yet? biggrin.gif

Suggested prototype:

yumminess order_pizza( pizzType,  pizzSize,  pizzTopping, delAddr); 

Just starting work on a fist draft of htpdl: -- Hypertext Pizza Description Language laugh.gif

Link to comment
Share on other sites

Is there an order_a_pizza method yet? biggrin.gif

Suggested prototype:

yumminess order_pizza( pizzType, pizzSize, pizzTopping, delAddr); 

Just starting work on a fist draft of htpdl: -- Hypertext Pizza Description Language laugh.gif

Hmm would need an entry for TTD (Time_to_delivery) most times are quoted as 45mins to an hour, any deviation from this may upset the function :)

Link to comment
Share on other sites

Hmm would need an entry for TTD (Time_to_delivery) most times are quoted as 45mins to an hour, any deviation from this may upset the function smile.gif

// Sample code only, needs exception handlers

ttd order_pizza( char* delAddr, enum pizzType, int pizzSize=8, int pizzTopping=NONE );

if (order_pizza( dadd, ptyp, psiz, ptop) > 45) {
cancel_pizza();
order_fishnchips( dadd);
post_message( "The Bedlington Consumer", "Slow Service!", comptxt*);
}
else post_message( "The Bedlington Consumer", "Good Service!", praisetxt*);
while (eating) {
poll_chat();
}

Link to comment
Share on other sites

// Sample code only, needs exception handlers

ttd order_pizza( char* delAddr, enum pizzType, int pizzSize=8, int pizzTopping=NONE );

if (order_pizza( dadd, ptyp, psiz, ptop) > 45) {
cancel_pizza();
order_fishnchips( dadd);
post_message( "The Bedlington Consumer", "Slow Service!", comptxt*);
}
else post_message( "The Bedlington Consumer", "Good Service!", praisetxt*);
while (eating) {
poll_chat();
}

Ha ha, show off

Link to comment
Share on other sites

 Share

Hide Adverts


  • Latest News

    • Get the latest Northumberland news and updates delivered straight to your inbox
      All they want to do is cradle their newborn baby in their arms.
      But Bedlington parents Carly Walker and Ryan Murphy have been forced to watch from the sidelines as their daughter fights for her life.
      Little Ayda Faith Murphy was born prematurely on March 31, weighing just 4lbs, at Newcastle's Royal Victoria Infirmary.
      Rushed for her first operation straight after birth and another at just four days old, she's battling terrifying odds after being diagnosed with a series of incredibly rare birth defects.
      An almost unique variant of gastroschisis, a defect of the abdominal wall, has left her intestines pushing up into her chest - a condition doctors estimate is suffered by no more than 10 babies worldwide.
      Meanwhile, her heart appears to have flipped over and lies on the wrong side of her chest, while she's receiving oxygen from a machine due to her underdeveloped lungs.
      Keep up-to-date with all the latest news in the county by visiting our Northumberland Live homepage.
      You can sign up to our daily Northumberland newsletter here.
      Facebook: Here's our main Northumberland page.
      Twitter: You can follow the Northumberland Live page here.
      Find The Journal's Northumberland editions on the British Newspaper Archive here.

  • Latest Topics

×
×
  • Create New...