Fulltext results:
- reference
- eference guide ====== This article describes the Doomsday Script language and its role in [[:Doomsday 2]]. ===== Overview ===== Doomsday Script is a sc... older versions: [[/script/reference?rev=1576480962#using_doomsday_script|2.2]] ==== Editor support ==== * Visual Studio Code: [[https://marketplace.visualstudio.com/items
- records @script:walkthrough
- == Records ====== Records are the foundation of Doomsday Script. Each namespace and module is a record, ea... the newly created record. Record({'a': 1, 'b': 2}) ''record'' may also be used as an expression, ... myrec.var = 'hello' myrec.(record subrec).a = 123 print ' members:', members(myrec) print 's... cords(myrec) Output: members: { subrec: a:123, var: hello } subrecords: { subrec: a:123 } M
- basic_expressions @script:walkthrough
- ored as 64-bit floats. $ print 5, 5.5, -3.141592657 5 5.5 -3.14159 Hexadecimal numbers use the "0x" prefix. $ print 0x100, 0X123 256 291 Underscores can be inserted in numbers at any points. This is only to improve readability for
- core @script:module
- r built-in classes and other integral features of Doomsday Script. ===== Functions ===== #@Identifier_HTM... ( ) Returns the current search path for imported Doomsday Script modules. The return value is an array: [... as an array: <code> $ d = {'key1': 'value1', 'key2': 'value2'} $ d.keys() ⇒ [ key1, key2 ] </code> #@Identifier_HTML~values~@# ( ) Returns the values