ext/ preprocessor/ array/ data.bi | |
License | Copyright © 2009, FreeBASIC Extended Library Development Group Copyright © 2002, Paul Mensonides |
Macros | |
fbextPP_ArrayReplace | for every `n` in the range [0, array.size), do `array[n] = iif(n <> index, array[n], value)` |
Copyright © 2009, 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- /p- /fb-extended-lib- /wiki- /License
for every `n` in the range [0, array.size), do `array[n] = iif(n <> index, array[n], value)`
# define fbextPP_ArrayReplace( array, index, value ) ( fbextPP_ArraySize(array), fbextPP_TupleReplace(fbextPP_ArraySize(array), index, fbextPP_ArrayData(array), value) )