Fulltext results:
- functions @script:walkthrough
- <- Records ^ ^ Scopes -> ====== Functions ====== A function is defined in the current scope using a ''def''... print 'Hello', func3() ===== Arguments ===== Functions can be defined with a list of untyped arguments. ... the value of the variable //myrec.func5//. Since functions are actually variables that reference function ob... be used just like a regular top-level function. Functions defined inside another function do not have visib
- world @script:module
- es bindings to objects in the game world. ===== Functions ===== #@Identifier_HTML~listThings~@# ( #@Arg_HT
- defs @script:module
- rray of [[ded:thing|Thing definitions]]. ===== Functions ===== The following return the internal index nu
- app @script:module
- also augment the module with their variables and functions. ===== Functions ===== #@Identifier_HTML~consolePlayer~@# ( ) Returns an object representing the console... tifier_HTML~audienceForGameChange~@# An array of functions that will be called whenever the game changes. No... oaded game mode is provided as an argument to the functions. def gameHasChanged(newGame) print "Game
- audio @script:module
- e) ====== Module for the audio subsystem. ===== Functions ===== #@Identifier_HTML~localSound~@# ( #@Arg_H
- reference
- ference]] for information about the syntax, and built-in functions and [[script:language#modules|modules]].
- math @script:module
- Module) ====== Module that provides math-related functions. ===== Functions ===== #@Identifier_HTML~cos~@# ( #@Arg_HTML~Number,n~@# ) Cosine of //n//. #@Identifie
- input @script:module
- t provides access to the input subsystem. ===== Functions ===== #@Identifier_HTML~bindEvent~@# ( #@Arg_H
- language
- True * False * None * Pi ==== Built-in functions ==== ^ Function ^ Description | | ''deserialize
- scopes @script:walkthrough
- <- Functions ^ ^ Miscellaneous -> ====== Scopes ====== The following scopes (namespaces) are defined: *
- records @script:walkthrough
- <- Exceptions ^ ^ Functions -> ====== Records ====== Records are the foundation of Doomsday Script. Each n... ' in myrec.subrec True True False The built-in functions ''members()'' and ''subrecords()'' return diction
- statements_and_compounds @script:walkthrough
- s value can change. ==== del ==== Variables and functions can be deleted with the ''del'' keyword. del z
- basic_expressions @script:walkthrough
- , Pi True False (none) 3.14159 ===== Built-in functions ===== The built-in ''len()'' function returns th... 3, 4]) ⇒ 4 len({1:2, 3:5, 8:13}) ⇒ 3 There are functions for extracting all the keys or all the values of ... dictvalues({1:2, 3:5, 8:13}) ⇒ [ 2, 5, 13 ] The functions ''Text()'' and ''Number()'' convert the argument ... : 1000 The ''serialize()'' and ''deserialize()'' functions convert their argument to/from a sequence of byte
- game @script:module
- ipt bindings are added to the Game module. ===== Functions ===== #@Identifier_HTML~setMessage~@# ( #@Arg_H
- console @script:module
- ====== Console (Module) ====== ===== Functions ===== #@Identifier_HTML~get~@# ( #@Arg_HTML~Text,name~@# )