User Tools

Site Tools


id

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
id [2023/02/28 15:09]
dmytroh
id [2023/02/28 15:12]
dmytroh
Line 16: Line 16:
 Because only the ID of a block must be unique, the model may contain several blocks with the same [[Name|name]], as long as they are put in different [[Sub-system|sub-systems]]. Because only the ID of a block must be unique, the model may contain several blocks with the same [[Name|name]], as long as they are put in different [[Sub-system|sub-systems]].
  
-When referencing a [[Block|block]] in an equation by [[Name|name]], Ecolego first looks in the sub-system of the block whose equation you edit. If it there is no block with that name in the sub-system, the [[Root_sub-system|root sub-system]] is searched. If no block is found there either, an error message is presented.+When referencing a [[Block|block]] in an equation by [[Name|name]], Ecolego first looks in the sub-system of the block whose equation you edit. If it there is no block with that name in the sub-system, the [[parent_sub-system#Root sub-system|root sub-system]] is searched. If no block is found there either, an error message is presented.
  
 If you want to explicitly reference a block in another sub-system you must use the ID of the block. For instance, using the hierarchy above, if you want to create an [[Expression|expression]] in the sub-system //France// which uses the parameter //Price//, you must write the full ID of the parameter: If you want to explicitly reference a block in another sub-system you must use the ID of the block. For instance, using the hierarchy above, if you want to create an [[Expression|expression]] in the sub-system //France// which uses the parameter //Price//, you must write the full ID of the parameter:
id.txt ยท Last modified: 2023/02/28 15:12 by dmytroh