builtin function utilities #278

Parent #72Owner #361Flags readSource hellcore/hellcore.db

Aliases: builtin function utilities

7 verbs · 11 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
abs disassemble log_cache_stats verb_cache_stats call_function raise suspend read seconds_left ticks_left pass set_task_perms caller_perms callers task_stack function_info load_server_options value_bytes value_hash string_hash binary_hash decode_binary encode_binary length setadd setremove listappend listinsert listdelete listset equal is_member tostr toliteral match rmatch substitute crypt index rindex strcmp strsub server_log toint tonum tofloat min max random time ctime floatstr sqrt sin cos tan asin acos atan sinh cosh tanh exp log log10 ceil floor trunc toobj typeof create recycle object_bytes valid parent children chparent max_object players is_player set_player_flag move is_a properties property_info set_property_info add_property delete_property clear_property is_clear_property server_version renumber reset_max_object memory_usage shutdown dump_database db_disk_size open_network_connection connected_players connected_seconds idle_seconds connection_name notify boot_player set_connection_option connection_option connection_options listen unlisten listeners buffered_output_length task_id queued_tasks kill_task task_valid output_delimiters queue_info resume force_input flush_input verbs verb_info set_verb_info verb_args set_verb_args add_verb delete_verb verb_code set_verb_code eval hash hashremove optimize keys values has_property is_in gamevalid call_verb set_live_profiling mod area is_in_a is_connected has_callable_verb occupantsthis none thisrxd#2781
? ifthis none thisrxd#2782
+ addthis none thisrxd#2782
- subtractthis none thisrxd#2782
/ dividethis none thisrxd#2782
% modulusthis none thisrxd#2782
consthis none thisrxd#2782

Properties

PropertyDefinerFlagsOwnerValue
help_msg#72rc#361<clear>
aliases#1rc#361{"builtin function utilities"}
description#1rc#361<clear>
object_size#1r#29{3944, 1298434457}
hidden_verbs#1rc#361<clear>
phelp_msg#1rc#361<clear>
weight#1rc#361<clear>
owner_verbs#1rc#361<clear>
plural_name#1rc#361<clear>
client_image#1rc#361<clear>
listening#1rc#361<clear>

Ancestry

Ancestors (nearest first): #72 Generic Utilities Package#1 root

Children: none

Source

abs disassemble log_cache_stats verb_cache_stats call_function raise suspend read seconds_left ticks_left pass set_task_perms caller_perms callers task_stack function_info load_server_options value_bytes value_hash string_hash binary_hash decode_binary encode_binary length setadd setremove listappend listinsert listdelete listset equal is_member tostr toliteral match rmatch substitute crypt index rindex strcmp strsub server_log toint tonum tofloat min max random time ctime floatstr sqrt sin cos tan asin acos atan sinh cosh tanh exp log log10 ceil floor trunc toobj typeof create recycle object_bytes valid parent children chparent max_object players is_player set_player_flag move is_a properties property_info set_property_info add_property delete_property clear_property is_clear_property server_version renumber reset_max_object memory_usage shutdown dump_database db_disk_size open_network_connection connected_players connected_seconds idle_seconds connection_name notify boot_player set_connection_option connection_option connection_options listen unlisten listeners buffered_output_length task_id queued_tasks kill_task task_valid output_delimiters queue_info resume force_input flush_input verbs verb_info set_verb_info verb_args set_verb_args add_verb delete_verb verb_code set_verb_code eval hash hashremove optimize keys values has_property is_in gamevalid call_verb set_live_profiling mod area is_in_a is_connected has_callable_verb occupants

Spec this none thisFlags rxdOwner #361Definer #278

Referenced by

none

Source

1return call_function(verb, @args);

? if

Spec this none thisFlags rxdOwner #361Definer #278

Referenced by

none

Source

1{pred, val1, val2} = args;
2return pred ? val1 | val2;

+ add

Spec this none thisFlags rxdOwner #361Definer #278

Referenced by

none

Source

1{x, y} = args;
2return x + y;

- subtract

Spec this none thisFlags rxdOwner #361Definer #278

Referenced by

none

Source

1{x, y} = args;
2return x - y;

/ divide

Spec this none thisFlags rxdOwner #361Definer #278

Referenced by

none

Source

1{x, y} = args;
2return x / y;

% modulus

Spec this none thisFlags rxdOwner #361Definer #278

Referenced by

none

Source

1{x, y} = args;
2return x % y;

cons

Spec this none thisFlags rxdOwner #361Definer #278

Referenced by

none

Source

1{x, LIST} = args;
2return {x, @LIST};