fbpx
วิกิพีเดีย

ซับรูทีน

ในด้านการเขียนโปรแกรมคอมพิวเตอร์ ซับรูทีน (อังกฤษ: subroutine) เป็นลำดับของคำสั่งโปรแกรมที่กระทำงานอย่างใดอย่างหนึ่ง และถูกรวมกันเป็นหนึ่งหน่วย หน่วยนี้สามารถใช้ในโปรแกรม ณ ตำแหน่งใดตำแหน่งหนึ่งที่งานนั้น ๆ จะเข้าไปกระทำ โปรแกรมย่อยอาจถูกกำหนดขึ้นภายในโปรแกรมต่าง ๆ หรือถูกกำหนดแยกอยู่ในคลัง (library) ที่โปรแกรมหลายโปรแกรมสามารถเรียกใช้ ในแต่ละภาษาโปรแกรม ซับรูทีนชุดหนึ่งอาจเรียกว่า กระบวนงาน (procedure) ฟังก์ชัน (function) รูทีน (routine) เมท็อด (method) หรือโปรแกรมย่อย บางครั้งใช่คำเรียกทั่วไปว่า หน่วยที่เรียกใช้ได้ (callable unit)

อ้างอิง

  1. U.S. Election Assistance Commission (2007). "Definitions of Words with Special Meanings". Voluntary Voting System Guidelines. สืบค้นเมื่อ 2013-01-14.

บร, ในด, านการเข, ยนโปรแกรมคอมพ, วเตอร, งกฤษ, subroutine, เป, นลำด, บของคำส, งโปรแกรมท, กระทำงานอย, างใดอย, างหน, และถ, กรวมก, นเป, นหน, งหน, วย, หน, วยน, สามารถใช, ในโปรแกรม, ตำแหน, งใดตำแหน, งหน, งท, งานน, จะเข, าไปกระทำ, โปรแกรมย, อยอาจถ, กกำหนดข, นภายในโปร. indankarekhiynopraekrmkhxmphiwetxr sbruthin xngkvs subroutine epnladbkhxngkhasngopraekrmthikrathanganxyangidxyanghnung aelathukrwmknepnhnunghnwy hnwynisamarthichinopraekrm n taaehnngidtaaehnnghnungthingannn caekhaipkratha opraekrmyxyxacthukkahndkhunphayinopraekrmtang hruxthukkahndaeykxyuinkhlng library thiopraekrmhlayopraekrmsamartheriykich inaetlaphasaopraekrm sbruthinchudhnungxaceriykwa krabwnngan procedure fngkchn function ruthin routine emthxd method hruxopraekrmyxy bangkhrngichkhaeriykthwipwa hnwythieriykichid callable unit 1 xangxing aekikh U S Election Assistance Commission 2007 Definitions of Words with Special Meanings Voluntary Voting System Guidelines subkhnemux 2013 01 14 ekhathungcak https th wikipedia org w index php title sbruthin amp oldid 6452498, wikipedia, วิกิ หนังสือ, หนังสือ, ห้องสมุด,

บทความ

, อ่าน, ดาวน์โหลด, ฟรี, ดาวน์โหลดฟรี, mp3, วิดีโอ, mp4, 3gp, jpg, jpeg, gif, png, รูปภาพ, เพลง, เพลง, หนัง, หนังสือ, เกม, เกม