Andy Millne Posted December 21, 2009 Report Posted December 21, 2009 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.
threegee Posted December 21, 2009 Report Posted December 21, 2009 Is there an order_a_pizza method yet? Suggested prototype:yumminess order_pizza( pizzType, pizzSize, pizzTopping, delAddr); Just starting work on a fist draft of htpdl: -- Hypertext Pizza Description Language
Andy Brown Posted December 21, 2009 Report Posted December 21, 2009 Is there an order_a_pizza method yet? Suggested prototype:yumminess order_pizza( pizzType, pizzSize, pizzTopping, delAddr); Just starting work on a fist draft of htpdl: -- Hypertext Pizza Description Language 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
threegee Posted December 21, 2009 Report Posted December 21, 2009 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 // Sample code only, needs exception handlersttd 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();}
Andy Brown Posted December 22, 2009 Report Posted December 22, 2009 // Sample code only, needs exception handlersttd 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
Recommended Posts