there is a thread which was archived

my main test:

 


just inspired me to following test:

typoscript:
constants:

 

c11 = {$c10} 
c9 = {$c8} 
c7 = {$c6} 
c5 = {$c4} 
c3 = {$c2} 
c1 = dummy-text 
c2 = {$c1} 
c4 = {$c3} 
c6 = {$c5} 
c8 = {$c7} 
c10 = {$c9} 
c12 = {$c11} 

 

setup:

 

page { 
  200 = COA 
  200 { 
    wrap =<h3>Constants test</h3><ol>|</ol> 
    1 = TEXT 
    1.value = {$c1} 
    1.wrap = <ul><li>|</li></ul>
    2 < .1 
    2.value = {$c2} 
    3 < .1 
    3.value = {$c3} 
    4 < .1 
    4.value = {$c4} 
    5 < .1 
    5.value = {$c5} 
    6 < .1 
    6.value = {$c6} 
    7 < .1 
    7.value = {$c7} 
    8 < .1 
    8.value = {$c8} 
    9 < .1 
    9.value = {$c9} 
    10 < .1 
    10.value = {$c10} 
    11 < .1 
    11.value = {$c11} 
    12 < .1 
    12.value = {$c12} 
    13 < .1 
    13.value = {$c13} 
  } 
}

 

can you guess the correct answer?


output: (mark it to see)

Constants test

  1. dummy-text
  2. dummy-text
  3. dummy-text
  4. dummy-text
  5. dummy-text
  6. dummy-text
  7. dummy-text
  8. dummy-text
  9. dummy-text
  10. dummy-text
  11. {$c1}
  12. {$c2}
  13. {$c13}

 

nice question for an integrator.

even more complicated if you build in a typo:

 

c2 = {c1}

 

who would guess the correct answer?


 
Ihre aktuelle Seitenauswahl:  
>>>