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


×
×
  • Create New...