Jump to content
Hide Adverts
Andy Millne

Strictly Techies Only

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.

Share this post


Link to post
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

Share this post


Link to post
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 :)

Share this post


Link to post
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();
}

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Hide Adverts


  • Latest News

    • Bedlington darts ace Chris Dobey reached his first ever European Tour final on Sunday to all but secure his place in next month's World Matchplay.
      Dobey was beaten 8-3 by Dave Chisnall in the final of the Danish Darts Open at Copenhagen's Brondby Hallen but enjoyed a superb run over the three-day competition.
      The 29-year-old saw off Steve West, Ricky Evans, former World Championship finalist Kirk Shepherd, and Jose de Sousa before beating two-time major champion Gerwyn Price in the semi-finals to reach his first big-stage final.
      'Hollywood' ran out of steam in the final, though, and despite taking a 2-0 lead, he won just one of the next nine legs as Chisnall secured his first European Tour title since 2013.
      Dobey's run over the weekend now means he is all but assured of a World Matchplay debut next month, following on from his debut in the Premier League earlier this year.
      The World Matchplay is widely considered the second most prestigious major in the darts calendar after the World Championships and after narrowly missing out on qualification for each of the last two years Dobey is delighted he has secured a long overdue debut in the competion.

  • Latest Topics

×
×
  • Create New...