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
- 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
- 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
- math @script:module
- Module) ====== Module that provides math-related functions. ===== Functions ===== #@Identifier_HTML~cos~@# ( #@Arg_HTML~Number,n~@# ) Cosine of //n//. #@Identifie
- 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
- savedsession @script:module
- ation features of the resource subsystem. ===== Functions ===== #@Identifier_HTML~convert~@# ( #@Arg_HTML... __all__ legacy savegames located for the given //gameId//. Otherwise functions identically to ''convert''.
- language
- True * False * None * Pi ==== Built-in functions ==== ^ Function ^ Description | | ''deserialize
- scopes @script:walkthrough
- <- Functions ^ ^ Miscellaneous -> ====== Scopes ====== The following scopes (namespaces) are defined: *
- world @script:module
- es bindings to objects in the game world. ===== Functions ===== #@Identifier_HTML~listThings~@# ( #@Arg_HT
- recutil @script:module
- tains utilities for manipulating records. ===== Functions ===== #@Identifier_HTML~copyMissingMembers~@# (
- input @script:module
- t provides access to the input subsystem. ===== Functions ===== #@Identifier_HTML~bindEvent~@# ( #@Arg_H
- reference
- ference]] for information about the syntax, and built-in functions and [[script:language#modules|modules]].
- gui @script:module
- e) ====== Utilities for GUI applications. ===== Functions ===== #@Identifier_HTML~colorAlpha~@# ( #@UArg_H
- game @script:module
- ipt bindings are added to the Game module. ===== Functions ===== #@Identifier_HTML~setMessage~@# ( #@Arg_H
- displaymode @script:module
- e that wraps the native DisplayMode class. ===== Functions ===== #@Identifier_HTML~originalMode~@# ( ) Ret