User Tools

Site Tools


macros:type:object

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:type:object [2017/10/29 16:34] – ↷ Links adapted because of a move operation icke_siegenmacros:type:object [2018/06/25 13:24] (current) icke_siegen
Line 3: Line 3:
 As this is a very simplified documentation, we may retreat to the following statement: while 'primitive' values - like [[string|strings]], [[single|singles]] etc. - contain only one value, objects are more complex. A very basic example is given in the [[macros:types|overview on types]]: imagine an address which is composed maybe of a street name, a number, a zip code, and a city - then the whole thing is the address object, and the individual values are the properties of this object. As this is a very simplified documentation, we may retreat to the following statement: while 'primitive' values - like [[string|strings]], [[single|singles]] etc. - contain only one value, objects are more complex. A very basic example is given in the [[macros:types|overview on types]]: imagine an address which is composed maybe of a street name, a number, a zip code, and a city - then the whole thing is the address object, and the individual values are the properties of this object.
  
-In the context of Titan macros, you'll most likely see objects like [[handle|handles]], [[timestamp|timestamps]], and maybe some more. While by their nature they fall under the general class 'objects', they are that frequently used - and thus that important for us that we explain them as separate types (which is how they are treated in most funtions' descriptiontoo).+In the context of Titan macros, you'll most likely see objects like [[..:identifier:handle|handles]], [[.object:timestamp|timestamps]], and some more. They are explained in more detail in separate articles see the indivitual link further down. 
 + 
 +Also, there seems to happen implicit parsing/conversion. E.g. the function [[macros:function:math.min]] expects two objects as input - but in the example [[macros:example:doublechasespeed]] it also works with a number like 3600.0: 
 + 
 +<code xml> 
 +<step>Math.Min("Playbacks.Editor.Times.ChaseSpeed"Playbacks.Editor.Times.ChaseSpeed * 2, 3600.0)</step> 
 +</code>
  
 Example for the use of objects: [[macros:function:actionscript.setproperty]]: Example for the use of objects: [[macros:function:actionscript.setproperty]]:
Line 20: Line 26:
  
 You can find some details about the properties which are used in the [[macros:properties_list|overview about properties]]. You can find some details about the properties which are used in the [[macros:properties_list|overview about properties]].
 +
 +== object types in this Wiki ==
 +
 +<nspages macros:type:object -h1 -simpleList -textPages="">
 +However the most important object type in Titan is more in-depth explained as [[macros:identifier:handle]].
  
 == Objects are also mentioned in == == Objects are also mentioned in ==
  
 {{backlinks>.}} {{backlinks>.}}
 +
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
  
macros/type/object.1509294876.txt.gz · Last modified: 2017/10/29 16:34 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki