A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/lib/slice_array
Simul efun: slice_array - cut out a part of an array
Synopsis:
mixed *slice_array(mixed *arr, int from, int to)
Description:
...is an obsolete function which is not guaranteed to work in
future, cause it can be replaced by the expression 'arr[from..to]'.
Examples:
string *new_array1 = old_array[i..sizeof(old_array)];
string *new_array2 = old_array[0..sizeof(old_array)-5];
Note:
Use 'array[from..to]' instead of 'slice_array'!
'slice_array' is obsolete!
This is not a simulated efun but a MACRO defined in /include/auto.h .
See also:
This page was generated in LPC
Imprint / Impressum