Jump to content
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



  • Latest News

    • A big-hearted donation by one of South East Northumberland’s largest employers has enabled local football club, Bedlington Terriers FC, to provide its players, staff and visitors with rapid emergency response should it ever be needed.
      Lynemouth Power Station has gifted the community club with a life-saving heart defibrillator which will now be installed at the Welfare Park ground. If deployed within three to five minutes of a cardiac arrest, such equipment could potentially increase the chances of someone surviving a heart attack from six to 74 per cent. Each minute without CPR and defibrillation also reduces a patient’s survival rate by between seven and ten per cent.*
      The Northern League Division Two club is home to seven teams and over 80 footballers from senior players to an under 6 ‘tots’ team. Along with daily training sessions and match attendances, the club sees hundreds of people visiting the ground on a weekly basis therefore the defibrillator has been very well received by all.
      Rowan Edwards, Commercial Director of Bedlington Terriers FC, commented, “This is a vital piece of first aid equipment and we are extremely grateful to Lynemouth Power Station for their kind donation. Given the number of on-site staff, players training each week and visitors to the ground, it is essential that our trained staff have instant access to life-saving equipment in case of emergencies. It will mean a lot to everyone here at the club as well as the local community, so we’re very grateful for the power station’s support.”
      Janet Mole from Lynemouth Power Station added, “Having these devices installed in popular public places and venues is so important, so rather than just donate to the fundraising effort, we decided to purchase the equipment outright on behalf of the club. As a local employer, it is important that community initiatives like this are well supported so we’re delighted to hand over the defibrillator to all at the club.”

  • Latest Topics

×
×
  • Create New...