Jump to content

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.

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



×
×
  • Create New...