![]() |
aindexof()
==================================
- aindexof(value,array) calculates the positon of the first occurance of value in the given array ================================== I didnt get it,could someone explain me better? Thanks. |
For array={8,0,2,11}:
aindexof(11,array)=3 and aindexof(8,array)=0 |
Re: aindexof()
Quote:
a = {5,4,3,2,1,0}; b = aindexof(4,a); b will equal 1 |
Re: Re: aindexof()
Quote:
Thanks Jagen & Jeff. |
Re: aindexof()
Quote:
#I(string,array). It's used like they said above ^_^. |
Re: Re: aindexof()
Quote:
No, it's like lindexof. #I(sarray,index) is analogous to array access in the form: array[index] |
Re: Re: aindexof()
Quote:
|
| All times are GMT +2. The time now is 10:44 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.