In the post , we saw how to use read integers using the get_option, if we want to read a range of integers we can use get_options.
Ref: Kernel API
To read the numbers that are passed,as it is a range we will use an array into which the numbers can be filled. The array will have to be declared with the appropriate size.
The array will be passed to get_options which will fill the array with the elements that belong the range that was passed as shown in the function below.
Ref: Kernel API
To read the numbers that are passed,as it is a range we will use an array into which the numbers can be filled. The array will have to be declared with the appropriate size.
The array will be passed to get_options which will fill the array with the elements that belong the range that was passed as shown in the function below.
No comments:
Post a Comment