Skip to main content

setarg

warning

This function starts with lowercase letter.

คำอธิบาย

Set an argument that was passed to a function.

NameDescription
argThe argument sequence number. Use 0 for the first argument.
indexThe index (if the argument is an array).
valueThe value to set the argument to.

ส่งคืน

[edit]

ฟังก์ชั่นที่เกี่ยวข้องกัน

  • getarg: Retrieve an argument from a variable argument list.
  • numargs: Return the number of arguments.