• skip to content

Doomsday Manual

User Tools

  • Admin
  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
Trace:

record

Search

You can find the results of your search below.

Starts with
  • Exact match
  • Starts with
  • Ends with
  • Contains
@script
  • Any namespace
  • script:walkthrough (4)
  • script:module (3)
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • record (script)
  • records (script:walkthrough)

Fulltext results:

records @script:walkthrough
67 Hits, Last modified: 6 years ago
<- Exceptions ^ ^ Functions -> ====== Records ====== Records are the foundation of Doomsday Script. Each namespace and module is a record, each object is a record, and classes are records, too. The ownership model of records is that there is
functions @script:walkthrough
20 Hits, Last modified: 3 years ago
<- Records ^ ^ Scopes -> ====== Functions ====== A function is defined in the current scope using a ''de... be changed. func5(c=5, a=100, b='OOO') ===== Records as arguments ===== Records are passed by non-owned reference in arguments. record myrec myrec.val = 'Original' print myrec.val
language
8 Hits, Last modified: 6 years ago
ime * Array * Dictionary * Function * Record ==== Built-in constants ==== * True * Fa... | ''globals'' | returns the global namespace as a record | | ''len'' | determines the length/size of the a... | | ''locals'' | returns the local namespace as a record | | ''members'' | returns the members of a record as a dictionary | | ''Number'' | converts argument to a
record
7 Hits, Last modified: 6 years ago
====== Record ====== Records are simple data structures in [[:Doomsday Script]] that contain a set of unordered, named variables and subrecords. Records can be nested inside other records up to arbitrary depth. Records are fully serializable (which the exc
scopes @script:walkthrough
6 Hits, Last modified: 6 years ago
pe. * In a class definition, the scope is the [[records#classes|class namespace]]. ===== Global assignm... ion ''locals()'' returns the local namespace as a record. # script "test.ds" a = 'hello'; b = 'world'... t the module will receive a reference to the same record. The import statement can also be used to make a copy instead of regular importing. import record other This imports //other// (from a file called
recutil @script:module
5 Hits, Last modified: 6 years ago
Module that contains utilities for manipulating records. ===== Functions ===== #@Identifier_HTML~copyMissingMembers~@# ( #@Arg_HTML~Record,src~@#, #@Arg_HTML~Record,dest~@# ) Duplicates all members of the //src// record in the //dest// record without touching existing
reference
3 Hits, Last modified: 5 years ago
no type safety or checking. Objects are called [[Record]]s and they represent native ''de::Record'' instances:<code>record myrec myrec.newMember = 100</code> * There are only modifiable arrays. Non-mod
defs @script:module
2 Hits, Last modified: 5 years ago
kup'' is a dictionary that maps IDs to definition records. <code> $ Defs.things.idLookup['possessed'] ⇒ _... in this list are also available in the definition records as ''<nowiki>__order__</nowiki>''. $ len(Def
gui @script:module
2 Hits, Last modified: 6 years ago
. #@Identifier_HTML~setDefaults~@# ( #@Arg_HTML~Record,d~@# ) Populate record //d// with the default configuration variables for a GUI app.
exceptions @script:walkthrough
2 Hits, Last modified: 6 years ago
<- Statements and compounds ^ ^ Records -> ====== Exceptions ====== ===== Try and catch ===== Like in C... ccess a deleted object via an alias. try record temp reference = temp del temp

Page Tools

  • Show page
  • Old revisions
  • Backlinks
  • Rename Page
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki
  • Doomsday Engine
  • 2.3 ⇣
  • Builds
  • Add-ons
  • Manual
  • ·
  • Forums
  • Support
  • Bug Tracker
  • Blog