May seem like a stupid question but can an array call a function? and if so is it possible to select an array from user input, so if the array was something like Num[10] and the user would input 6, it would then select Num[5] and call the function associated with that subscript.
pg5678
0
Newbie Poster
Recommended Answers
Jump to PostNo. An array is a list of values. Values can't call functions. Only code can call functions.
All 7 Replies
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
pg5678
0
Newbie Poster
gerard4143
371
Nearly a Posting Maven
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
gerard4143
371
Nearly a Posting Maven
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
gerard4143
371
Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.