algorithms/filln.bi

Summary
algorithms/filln.bi
LicenseCopyright © 2007-2011, FreeBASIC Extended Library Development Group
Functions
FillNAssigns a value x to a number of elements n in the starting at first.

License

Copyright © 2007-2011, FreeBASIC Extended Library Development Group

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

Functions

FillN

declare sub FillN overload (byval first as fbext_TypeName(T_) ptr,
byval n as ext.SizeType,
byref x as const fbext_TypeName(T_))

Assigns a value x to a number of elements n in the starting at first.

Parameters

firstA pointer to the first element in the range to assign.
nThe number of elements in the range.
xThe value to assign.
declare sub FillN overload (byval first as fbext_TypeName(T_) ptr,
byval n as ext.SizeType,
byref x as const fbext_TypeName(T_))
Assigns a value x to a number of elements n in the starting at first.