ext/ | |
License | Copyright © 2007-2011, FreeBASIC Extended Library Development Group Copyright © 2002, Paul Mensonides |
Macros | |
fbextPP_ArrayElem | Returns a certain element in an array. |
Copyright © 2007-2011, FreeBASIC Extended Library Development Group Copyright © 2002, Paul Mensonides
Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Distributed under the FreeBASIC Extended Library Group license. See accompanying file LICENSE.txt or copy at http://code.google.com
# define fbextPP_ArrayElem( array, index ) fbextPP_TupleElem(fbextPP_ArraySize(array), index, fbextPP_ArrayData(array))
Returns a certain element in an array.
array | An array. |
index | The zero-based position of the element in the array. |
Returns the chosen element..
Given an array (4, (a, b, c, d)) and index 2, this macro will expand to c.
Returns a certain element in an array.
# define fbextPP_ArrayElem( array, index ) fbextPP_TupleElem(fbextPP_ArraySize(array), index, fbextPP_ArrayData(array))