Fred is browsing this forum at the same time as me... COOL! Hehe... The first time I've seen Fred online...
Hi Fred!
by the way - is PB bugfree now?




Well, I'll visit almost every day and scan the forum... but I'll guess Fred and I have different "timeslots"?!?! Or I have had extremly bad luck... or is it "good luck"?!? Hehe...PB wrote:> first time I've seen Fred online
Huh? Fred is always on here. You make it sound as though he doesn't visit.



*helpingtraumatic*traumatic wrote:Back to coding, Fred! *push*
[14:13] *** fastf00d is now known as fr34k.
[14:13] DarkDragon: you have eaten the whole pizza?
[14:13] fr34k: yes
[14:13] Fanglez: DarkDragon he's so rude, didn't offer us any
[14:13] DarkDragon: well I ate ~5 steaks today
[14:13] fr34k: hey, it was barely enough for me!
[14:13] DarkDragon: ^^
[14:14] fr34k: next time i will put some of it on the scanner and mail it to Fanglez
[14:14] VancouverBC: yes... Fanglez... I had my opinions... took me a couple weeks with it to learn 8 months ago there was problems, examples out of date etc... just hoping that things may be better by now.. checking in... and it sure could save timee by hearing reasonable, educated opinions
[14:14] Fanglez: fr34k suuure, that's your story. if I had a oizza, I would have sent my lear jet to you with a peice (dramatic sobbing)
[14:14] DarkDragon: LOL beam a pizza, but don't scan it LOL
[14:15] Fanglez: VancouverBC I meant don't go by other people's opninions
[14:15] *** BluePatch has joined #PureBasic.
[14:15] fr34k: ok, here is the deal: you send the jet, and i get some more pizza
[14:15] DarkDragon:
[14:15] DarkDragon: really?
[14:15] DarkDragon: ok, I'll come, but where do you live?
[14:15] Fanglez: When I started pb, I had 18 years of programming experience behind me and a huge holiday in there somewhere and it was hard. THe forums were what saved my sanity, and some great coders willing to help
[14:16] * DarkDragon is joking
[14:16] Fanglez: fr34k the jet is fuelled and taxxiing the runway:)
[14:16] fr34k:
[14:17] DarkDragon: :-/ Fanglez: take a part of the pizza to me![]()
[14:17] Fanglez: VancouverBC the hardest part for me what in what order everything should be. THat took forever to learn and once I got that, I could start fixing the broken examples till they made sense
[14:17] Fanglez: DarkDragon (sly grin)...what are you offering?
[14:18] DarkDragon: uhm, no mafia will be at your home tomorrow if you do so![]()
[14:18] Fanglez: ROFL
So, hurry up Fred, I´m already becoming hungryPurebasic 4.0 HTMLHelp wrote:Description:Code: Select all
result=CallPizzaService(PhoneNumberofPizzaService$,YourNumber$,Name$,Street$,HouseNumber$,KindofPizza$) if result>-1 Messagerequester("Pizza will come","You´ll have to wait: "+str(result)) endif
CallPizzaService calls your Favourite Pizzaservice via voice over IP to order a Pizza, a drink or what ever you want.
Parameters
Phonenumberofpizzaservice is a string containing the normal telephonenumber of your Pizzaservice.
Attention!!! If you have a Notebook, your position can be far away from your favourite Pizzaservice. Never call a service that is more than 20 Kilometers away from where you are. Else, your Pizza will be cold.
Yournumber is a string containing your own phonenumber (normal telephonnumber, not your ip). Some Pizzaservices ask for it to make an entry in their Database
Name is a string containing your full name (for Example: "Laboureur, Fredéric")
Street is a string containing the name of the street, where you are.
Number is a string containing the number of the house, where you are.
It´s a string because the housenumber could be "20A"
KindofPizza is a string containing what you want to order.
Example: "Pizza Salami, the big one, more cheese, please. And a Beer, 0.33l Krombacher Pilsener".
Result
If the ordering was successfull, the Result will be the time (in minutes) you´ll have to wait for your Pizza.
If the phonenumber is wrong, the procedure will return:
-1, if it was a number that doesn´t fit to anyone´s telephon
-2, if the number fits to a fast food restaurant. In this case, you can call OrderHamburger() to change the KindofPizza$.
If the pizza you wanted to have is not available, the procedure will return -3
You can call ChangePizza() to change the kindofpizza$
Remarks
Attention:Never put this function inside a Repeat:Foreverloop, this could become very expensive for you.
Nerver forget, that the programmer of PB is not responsible for a cold pizza or a warm beer.
