MasteringVFP/2/6/1
出自VFP Wiki
(修訂版本間差異)
小 (revert) |
1148347883 (對話 | 貢獻) |
||
第40行: | 第40行: | ||
這樣不是簡單許多嗎?? | 這樣不是簡單許多嗎?? | ||
一般來說, Procedure 是不會傳回值的,但 VFP 的 Procedure 比較特別,它可以傳回值也可以不傳回值. | 一般來說, Procedure 是不會傳回值的,但 VFP 的 Procedure 比較特別,它可以傳回值也可以不傳回值. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <div style="display:none"> | ||
+ | [We are delicate. We do not delete your content.] | ||
+ | [l_sp4] | ||
+ | |||
+ | |||
+ | [http://www.buddyprofile.com/viewprofile.php?username=waterfordcrystal waterford crystal] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=swarovskicrystal swarovski crystal bead] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=mesotheliomalawsuits mesothelioma lawsuits] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=mesotheliomasymptoms mesothelioma symptoms] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=mesotheliomadiag mesothelioma diagnosis] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=wacoalbras wacoal bras] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=teenbra teen bra] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=unsecuredloan unsecured signature loan] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=homeloans Countrywide Home Loans] | ||
+ | [http://blog.moddingplanet.it/?w=formalpromdresses Formal Prom Dresses] | ||
+ | [http://blog.moddingplanet.it/?w=sexypromdress Sexy Prom Dress] | ||
+ | [http://blog.moddingplanet.it/?w=cocktaildresses cocktail dresses] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=telmobile TMobile] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=watersoftener water softener] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=tanklesswaterheater tankless water heater] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=rockportshoes rockport shoes] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=osmosiswaterfilter reverse osmosis water filter] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=merrellshoes merrell shoes] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=oscardresses oscar dresses] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=easterdresses easter dresses] | ||
+ | [http://flyfone.blox.pl/resource/flyfonevoip.htm flyfone voip] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=plussizepromdresses plus size prom dresses] | ||
+ | [http://www.buddyprofile.com/viewprofile.php?username=discountpromdresses discount prom dresses] | ||
+ | [http://blog.moddingplanet.it/?w=hooterscasinolas Hooters Casino Las Vegas] | ||
+ | [http://blog.moddingplanet.it/?w=grandcasinomille grand casino mille lacs] | ||
+ | [http://blog.moddingplanet.it/?w=lasvegascasino las vegas casino coupons] | ||
+ | [http://blog.moddingplanet.it/?w=onlinepokeraide online poker aide] | ||
+ | [http://www.donx.de/blog/pechangacasino pechanga casino] | ||
+ | [http://www.donx.de/blog/grandvictoriacasino/ grand victoria casino] | ||
+ | [http://www.donx.de/blog/ballgowns/ ball gowns] | ||
+ | [http://www.privetparis.com/blog/rtgcasinobonus/ rtg casino bonus] | ||
+ | |||
+ | [http://blog.moddingplanet.it/?w=rtgcasinobonus rtg casino bonus] | ||
+ | [http://blog.moddingplanet.it/?w=grandcasinocoushat grand casino coushatta] | ||
+ | [http://blog.moddingplanet.it/?w=grandcasinohinckle grand casino hinckley] | ||
+ | [http://blog.moddingplanet.it/?w=isleofcapricasino isle of capri casino] | ||
+ | [http://blog.moddingplanet.it/?w=mohegansuncasino mohegan sun casino] | ||
+ | [http://blog.moddingplanet.it/?w=palacasino pala casino] | ||
+ | [http://blog.moddingplanet.it/?w=roulettewheels roulette wheels] | ||
+ | [http://blog.moddingplanet.it/?w=winstarcasino winstar casino] | ||
+ | [http://blog.moddingplanet.it/?w=cheappromdresses Cheap Prom Dresses] | ||
+ | [http://blog.moddingplanet.it/?w=informalweddingdre informal wedding dresses] | ||
+ | [http://blog.moddingplanet.it/?w=oscardresses oscar dresses] | ||
+ | [http://blog.moddingplanet.it/?w=eveninggowns evening gowns] | ||
+ | |||
+ | [http://vvvvvv.blox.pl/resource/throat_pokers.htm throat pokers] | ||
+ | [http://vvvvvv.blox.pl/resource/online_poker_assistant.htm online poker assistant] | ||
+ | [http://vvvvvv.blox.pl/resource/online_poker_tracker.htm online poker tracker] | ||
+ | [http://vvvvvv.blox.pl/resource/online_poker_aide.htm online poker aide] | ||
+ | [http://vvvvvv.blox.pl/resource/party_poker_bonus.htm party poker bonus] | ||
+ | [http://vvvvvv.blox.pl/resource/party_poker_bonus_code.htm party poker bonus code] | ||
+ | [http://vvvvvv.blox.pl/resource/bonus_code_party_poker.htm bonus code party poker] | ||
+ | [http://vvvvvv.blox.pl/resource/bonus_code_deposit_party_poker.htm bonus code deposit party poker] | ||
+ | [http://vvvvvv.blox.pl/resource/party_poker_bonus_codes.htm party poker bonus codes] | ||
+ | [http://vvvvvv.blox.pl/resource/carnival_cruises.htm carnival cruises] | ||
+ | [http://vvvvvv.blox.pl/resource/carnival_game_rentals.htm carnival game rentals] | ||
+ | [http://vvvvvv.blox.pl/resource/fuzzydice.htm fuzzy dice] | ||
+ | [http://vvvvvv.blox.pl/resource/bingodaubers.htm bingo daubers] | ||
+ | [http://vvvvvv.blox.pl/resource/bingoblowers.htm bingo blowers] | ||
+ | [http://vvvvvv.blox.pl/resource/motor_scooters.htm motor scooters] | ||
+ | [http://vvvvvv.blox.pl/resource/mini_harley_chopper_scooter.htm mini harley chopper scooter] | ||
+ | [http://blog.moddingplanet.it/?w=fakerolex fake rolex] | ||
+ | </div> |
在2006年5月23日 (二) 00:59所做的修訂版本
Procedure
程序,我們可以將常用的指令集合到一起~這樣就不必再剪貼那麼多程式碼了~
例如:
use customers go top locate for cust_id=="A" if found() && do something endif use in customers use customers go top locate for cust_id=="B" if found() && do something endif use in customers
我們就可以化簡為:
do findCustomer with "A" do findCustomer with "B" procedure findCustomer lparameters lc_id use customers go top locate for cust_id==lc_id if found() && do something endif use in customers endproc
這樣不是簡單許多嗎?? 一般來說, Procedure 是不會傳回值的,但 VFP 的 Procedure 比較特別,它可以傳回值也可以不傳回值.