Categories > TinyButStrong general >

Way To Start .# at 0

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Alexandre
Date: 2006-03-10
Time: 18:20

Way To Start .# at 0

is ther a way to have the # that start at 0 instead of 1.

As a matter of fact, I wan't to use in for the key value of n array

[blk1;block=begin]
Label : [var.myArray.[blk1.#]]
[blk1;block=end]

Thanks for advance,
Alex
By: ioguix
Date: 2006-03-10
Time: 18:28

Re: Way To Start .# at 0

Hello,

Maybe you can try with .$ that is the key of the current record if blk1 is a php array ?

see http://www.tinybutstrong.com/manual.php#appendix_specialname

++
By: Alexandre
Date: 2006-03-13
Time: 17:00

Re: Way To Start .# at 0

Thank you for your help.

"$" didn't the solution too, but I have found another method to resolve this with MergeBlock().

Alexandre