Branch: Tag:


1995-08-09 10:21:55 by Fredrik Hübinette (Hubbe) <>

ulpc dist

Rev: bin/create_testsuite:
Rev: bin/hilfe.lpc:
Rev: bin/rsif:
Rev: bin/uhttpd.lpc:
Rev: doc/README:
Rev: doc/builtin/aggregate:
Rev: doc/builtin/aggregate_list:
Rev: doc/builtin/aggregate_mapping:
Rev: doc/builtin/all_efuns:
Rev: doc/builtin/allocate:
Rev: doc/builtin/arrayp:
Rev: doc/builtin/backtrace:
Rev: doc/builtin/call_function:
Rev: doc/builtin/call_out:
Rev: doc/builtin/call_out_info:
Rev: doc/builtin/catch:
Rev: doc/builtin/clone:
Rev: doc/builtin/combine_path:
Rev: doc/builtin/compile_file:
Rev: doc/builtin/compile_string:
Rev: doc/builtin/copy_value:
Rev: doc/builtin/crypt:
Rev: doc/builtin/ctime:
Rev: doc/builtin/destruct:
Rev: doc/builtin/equal:
Rev: doc/builtin/exit:
Rev: doc/builtin/explode:
Rev: doc/builtin/find_call_out:
Rev: doc/builtin/floatp:
Rev: doc/builtin/function_name:
Rev: doc/builtin/function_object:
Rev: doc/builtin/functionp:
Rev: doc/builtin/hash:
Rev: doc/builtin/implode:
Rev: doc/builtin/indices:
Rev: doc/builtin/intp:
Rev: doc/builtin/listp:
Rev: doc/builtin/lower_case:
Rev: doc/builtin/m_delete:
Rev: doc/builtin/mappingp:
Rev: doc/builtin/mkmapping:
Rev: doc/builtin/next_object:
Rev: doc/builtin/object_program:
Rev: doc/builtin/objectp:
Rev: doc/builtin/programp:
Rev: doc/builtin/query_host_name:
Rev: doc/builtin/query_num_arg:
Rev: doc/builtin/random:
Rev: doc/builtin/regexpp:
Rev: doc/builtin/remove_call_out:
Rev: doc/builtin/replace:
Rev: doc/builtin/reverse:
Rev: doc/builtin/rusage:
Rev: doc/builtin/search:
Rev: doc/builtin/sizeof:
Rev: doc/builtin/sscanf:
Rev: doc/builtin/stringp:
Rev: doc/builtin/sum:
Rev: doc/builtin/this_object:
Rev: doc/builtin/throw:
Rev: doc/builtin/time:
Rev: doc/builtin/trace:
Rev: doc/builtin/upper_case:
Rev: doc/builtin/values:
Rev: doc/builtin/zero_type:
Rev: doc/files/cd:
Rev: doc/files/exec:
Rev: doc/files/file:
Rev: doc/files/file_stat:
Rev: doc/files/fork:
Rev: doc/files/get_dir:
Rev: doc/files/getcwd:
Rev: doc/files/mkdir:
Rev: doc/files/mv:
Rev: doc/files/perror:
Rev: doc/files/port:
Rev: doc/files/rm:
Rev: doc/lpc/command_line_options:
Rev: doc/lpc/control_structures:
Rev: doc/lpc/hilfe.hilfe:
Rev: doc/lpc/how_to_make_modules:
Rev: doc/manual/i-overview.html:
Rev: doc/manual/index.html:
Rev: doc/manual/t-hello.html:
Rev: doc/manual/ulpc-inside3.gif:
Rev: doc/math/acos:
Rev: doc/math/asin:
Rev: doc/math/atan:
Rev: doc/math/ceil:
Rev: doc/math/cos:
Rev: doc/math/exp:
Rev: doc/math/floor:
Rev: doc/math/log:
Rev: doc/math/pow:
Rev: doc/math/sin:
Rev: doc/math/sqrt:
Rev: doc/math/tan:
Rev: doc/operators/addition:
Rev: doc/regexp/regexp:
Rev: doc/simulated/PI:
Rev: doc/simulated/capitalize:
Rev: doc/simulated/code_value:
Rev: doc/simulated/describe_backtrace:
Rev: doc/simulated/file_size:
Rev: doc/simulated/filter_array:
Rev: doc/simulated/get_function:
Rev: doc/simulated/getenv:
Rev: doc/simulated/l_sizeof:
Rev: doc/simulated/m_indices:
Rev: doc/simulated/m_sizeof:
Rev: doc/simulated/m_values:
Rev: doc/simulated/map_array:
Rev: doc/simulated/master:
Rev: doc/simulated/member_array:
Rev: doc/simulated/popen:
Rev: doc/simulated/previous_object:
Rev: doc/simulated/read_bytes:
Rev: doc/simulated/regexp:
Rev: doc/simulated/search_array:
Rev: doc/simulated/sort_array:
Rev: doc/simulated/spawn:
Rev: doc/simulated/strlen:
Rev: doc/simulated/strstr:
Rev: doc/simulated/sum_arrays:
Rev: doc/simulated/this_function:
Rev: doc/simulated/write:
Rev: doc/simulated/write_file:
Rev: doc/sprintf/sprintf:
Rev: doc/types/array:
Rev: doc/types/float:
Rev: doc/types/function:
Rev: doc/types/int:
Rev: doc/types/list:
Rev: doc/types/mapping:
Rev: doc/types/object:
Rev: doc/types/program:
Rev: doc/types/string:
Rev: lib/conftest.h:
Rev: lib/master.lpc:
Rev: lib/simulate.lpc:
Rev: lib/testsuite.lpc:
Rev: src/BUGS:
Rev: src/COPYING:
Rev: src/
Rev: src/README:
Rev: src/add_efun.c:
Rev: src/add_efun.h:
Rev: src/alloca.c:
Rev: src/array.c:
Rev: src/array.h:
Rev: src/backend.c:
Rev: src/backend.h:
Rev: src/builtin_efuns.c:
Rev: src/builtin_efuns.h:
Rev: src/call_out.c:
Rev: src/call_out.h:
Rev: src/callback.c:
Rev: src/callback.h:
Rev: src/config.h:
Rev: src/
Rev: src/debug.c:
Rev: src/debug.h:
Rev: src/docode.c:
Rev: src/docode.h:
Rev: src/dynamic_buffer.c:
Rev: src/dynamic_buffer.h:
Rev: src/efun.h:
Rev: src/error.c:
Rev: src/error.h:
Rev: src/fd_control.c:
Rev: src/fd_control.h:
Rev: src/fsort.c:
Rev: src/fsort.h:
Rev: src/global.h:
Rev: src/hashtable.c:
Rev: src/hashtable.h:
Rev: src/install-sh:
Rev: src/interpret.c:
Rev: src/interpret.h:
Rev: src/language.y:
Rev: src/las.c:
Rev: src/las.h:
Rev: src/lex.c:
Rev: src/lex.h:
Rev: src/list.c:
Rev: src/list.h:
Rev: src/lpc_types.c:
Rev: src/lpc_types.h:
Rev: src/
Rev: src/macros.h:
Rev: src/main.c:
Rev: src/main.h:
Rev: src/mapping.c:
Rev: src/mapping.h:
Rev: src/memory.c:
Rev: src/memory.h:
Rev: src/module.c:
Rev: src/module.h:
Rev: src/modules/efuns.c:
Rev: src/modules/files/
Rev: src/modules/files/
Rev: src/modules/files/datagram.c:
Rev: src/modules/files/efuns.c:
Rev: src/modules/files/file.c:
Rev: src/modules/files/file.h:
Rev: src/modules/files/
Rev: src/modules/files/socket.c:
Rev: src/modules/math/
Rev: src/modules/math/
Rev: src/modules/math/math.c:
Rev: src/modules/regexp/
Rev: src/modules/regexp/
Rev: src/modules/regexp/glue.c:
Rev: src/modules/regexp/regexp.c:
Rev: src/modules/regexp/regexp.h:
Rev: src/modules/sprintf/
Rev: src/modules/sprintf/
Rev: src/modules/sprintf/sprintf.c:
Rev: src/object.c:
Rev: src/object.h:
Rev: src/opcodes.c:
Rev: src/opcodes.h:
Rev: src/operators.c:
Rev: src/operators.h:
Rev: src/otable.h:
Rev: src/port.c:
Rev: src/port.h:
Rev: src/program.c:
Rev: src/program.h:
Rev: src/rusage.c:
Rev: src/rusage.h:
Rev: src/stralloc.c:
Rev: src/stralloc.h:
Rev: src/stuff.c:
Rev: src/stuff.h:
Rev: src/svalue.c:
Rev: src/svalue.h:
Rev: src/todo:
Rev: src/types.h:
Rev: src/ualarm.c:

1: + NAME +  allocate - allocate an array + SYNTAX +  mixed *allocate(int size, [ string type ]);    -  + DESCRIPTION +  Allocate an array of size elements. Optionally, write what type you +  want to store in the array in the second argument as a string. +  Note that the type given in this string should be simple, instead +  of writing "int ***" just write "array". +  + EXAMPLES +  mixed *a=allocate(17); +  int *b=allocate(17, "int"); +  int **c=allocate(17, "array"); +  mapping *c=allocate(17, "mapping"); +  array (list (int)) c=allocate(17, "list"); +  array (string) c=allocate(17, "string"); +  + NOTA BENE +  Arrays are dynamically allocated there is no need to declare them +  like int a[10]=allocate(10); (and it isn't possible either) like +  in C, just int *a=allocate(10); will do. +  + SEE ALSO +  sizeof, aggregate, arrayp   Newline at end of file added.