Skip to content
Snippets Groups Projects
Select Git revision
  • 8fb1e14708b285a6cf5f5eaee30793843f95d942
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
  • v8.0.1978
  • v8.0.1976
  • v8.0.1974
  • v8.0.1972
  • v8.0.1970
  • v8.0.1968
  • v8.0.1966
41 results

object

Blame
    • Fredrik Hübinette (Hubbe)'s avatar
      27cc2a47
      keywords changed · 27cc2a47
      Fredrik Hübinette (Hubbe) authored
      Rev: doc/builtin/sizeof:1.3
      Rev: doc/lpc/preprocessor:1.3
      Rev: doc/lpc/sscanf:1.1
      Rev: doc/operators/and:1.2
      Rev: doc/operators/complement:1.2
      Rev: doc/operators/divide:1.2
      Rev: doc/operators/is_equal:1.2
      Rev: doc/operators/is_greater_or_equal:1.2
      Rev: doc/operators/is_greater_than:1.2
      Rev: doc/operators/is_lesser_or_equal:1.2
      Rev: doc/operators/is_lesser_than:1.2
      Rev: doc/operators/minus:1.2
      Rev: doc/operators/modulo:1.2
      Rev: doc/operators/mult:1.2
      Rev: doc/operators/not:1.2
      Rev: doc/operators/not_equal:1.2
      Rev: doc/operators/or:1.2
      Rev: doc/operators/plus:1.2
      Rev: doc/operators/shift_left:1.2
      Rev: doc/operators/shift_right:1.2
      Rev: doc/operators/xor:1.2
      Rev: doc/simulated/sum:1.1
      Rev: doc/types/array:1.4
      Rev: doc/types/float:1.3
      Rev: doc/types/function:1.3
      Rev: doc/types/int:1.3
      Rev: doc/types/list:1.3
      Rev: doc/types/mapping:1.3
      Rev: doc/types/object:1.3
      Rev: doc/types/program:1.3
      Rev: doc/types/string:1.3
      27cc2a47
      History
      keywords changed
      Fredrik Hübinette (Hubbe) authored
      Rev: doc/builtin/sizeof:1.3
      Rev: doc/lpc/preprocessor:1.3
      Rev: doc/lpc/sscanf:1.1
      Rev: doc/operators/and:1.2
      Rev: doc/operators/complement:1.2
      Rev: doc/operators/divide:1.2
      Rev: doc/operators/is_equal:1.2
      Rev: doc/operators/is_greater_or_equal:1.2
      Rev: doc/operators/is_greater_than:1.2
      Rev: doc/operators/is_lesser_or_equal:1.2
      Rev: doc/operators/is_lesser_than:1.2
      Rev: doc/operators/minus:1.2
      Rev: doc/operators/modulo:1.2
      Rev: doc/operators/mult:1.2
      Rev: doc/operators/not:1.2
      Rev: doc/operators/not_equal:1.2
      Rev: doc/operators/or:1.2
      Rev: doc/operators/plus:1.2
      Rev: doc/operators/shift_left:1.2
      Rev: doc/operators/shift_right:1.2
      Rev: doc/operators/xor:1.2
      Rev: doc/simulated/sum:1.1
      Rev: doc/types/array:1.4
      Rev: doc/types/float:1.3
      Rev: doc/types/function:1.3
      Rev: doc/types/int:1.3
      Rev: doc/types/list:1.3
      Rev: doc/types/mapping:1.3
      Rev: doc/types/object:1.3
      Rev: doc/types/program:1.3
      Rev: doc/types/string:1.3
    object 812 B
    NAME
    	object - an instance of a class (program)
    
    DESCRIPTION
    	There is no syntax example in this file because there is no way to
    	write constant object. The only way to make new objects is to use
    	clone() on a program.
    
    	Here follows a list of operators that applies to objects:
    	In this list, o and o2 are used to represent object expressions,
    	and s is a string expression:
    
    	o[s]	indexing, returns the identifier named s in the object o,
    		an identifier is a global variable or a function.
    	o[s]=c	This sets the global variable s int the object o to c,
    		if s is a function however, an error is produced.
    	o->foo	same as o["foo"]
    	o == o2	return 1 if o and o2 are the same object
    	o != o2	return 0 if o and o2 are the same object
    
    KEYWORDS
    	types
    
    SEE ALSO
    	program, function, builtin/clone, builtin/destruct