User Tools

Site Tools


text-gen-en

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
text-gen-en [2025/05/29 08:27] rjversluistext-gen-en [2025/05/30 00:41] (current) – [User] rainerk
Line 284: Line 284:
 | ''%frombkloc%'' | From block location name | | ''%frombkloc%'' | From block location name |
 | ''%frombkdesc%'' | Coming from block description | | ''%frombkdesc%'' | Coming from block description |
-| ''%bkmvspeed%'' | Speed measured in block (use it with state 'free'¹) |+| ''%bkmvspeed%'' | Speed measured in block use it with state 'free'((Hint: %bkmvspeed% will be updated on the in-event. The next event which can be used to trigger the update of the text is the change to status 'free'. If you trigger the update on other stati, you will get the last measured speed (which might differ from the actual one.)) |
 | ''%bklen%'' | Block length | | ''%bklen%'' | Block length |
 +| ''%eventlcid%'' | Car that last triggered a block detector, depending on the status enter or fifoin |
 ====Turntable==== ====Turntable====
 |< >| |< >|
Line 321: Line 321:
 | ''@txtID'' | The text value of a text object. | | ''@txtID'' | The text value of a text object. |
  
-¹) Hint: %bkmvspeed% will be updated on the in-event. The next event which can be used to trigger the update of the text is the change to status 'free'. If you trigger the update on other stati, you will get the last measured speed (which might differ from the actual one.) 
  
- \\ 
- \\ 
 ====User==== ====User====
 |< >| |< >|
 ^ User Variables ^^ ^ User Variables ^^
-| #varID or with Sub-ID #varID%lcid% | The integer value | +''#varID'' or with Sub-ID ''#varID%lcid%'' | The integer value | 
-| @varID | The text value of a variable. | +''@varID'' | The text value of a variable. | 
-| @@nvarID | The indexed, n=0...99, text value of a variable. The text value must be a comma separated list. | +''@@nvarID'' | The indexed, n=0...99, text value of a variable. The text value must be a comma separated list. | 
-| ##nvarID | The indexed, n=0...99, text value of a variable converted in an integer. (atoi) The text value must be a comma separated list. | +''##nvarID'' | The indexed, n=0...99, text value of a variable converted in an integer. \\ (atoi) The text value must be a comma separated list. | 
-| ~varID | A pointer to the variable text or value; Depends from XMLScript command: value=%%"~varID"%% or text=%%"~varID"%%  |+''~varID'' | A pointer to the variable text or value; Depends from XMLScript command: value=%%"~varID"%% or text=%%"~varID"%%  |
  \\  \\
  
 ====Environment==== ====Environment====
 All defined environment variables can also be used:\\ All defined environment variables can also be used:\\
-//"Good morning %USER%."//\\ +//"Good morning ''%USER%''."//\\ 
-(consider in Windows: //%USERNAME%//)\\+(consider in Windows: ''%USERNAME%'')\\
  
 will be evaluated like this:\\ will be evaluated like this:\\
text-gen-en.1748500064.txt.gz · Last modified: 2025/05/29 08:27 by rjversluis