Sie sind nicht angemeldet.

Fernando

Fortgeschrittener

  • »Fernando« ist der Autor dieses Themas

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

1

Montag, 21. Juni 2021, 22:14

[solved] Rare behavior in FOR action

Hi, this works well:

Quellcode

1
2
3
<action name="myaction">
for (set(i,0), i LT 10, inc(i),
trace('i=',i));

Result: i=0 i=1 i=2 ...
But

Quellcode

1
2
3
<action name="myaction">
for (set(i,0), i LT 200, inc(i),
trace('i=',i));

Result: i=103 i=104 i=105...
Why does not it begin in 0?
Console error??
What is wrong??
*confused*
Thanks

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Fernando« (22. Juni 2021, 01:15)


Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

2

Montag, 21. Juni 2021, 23:09

Everything works fine, just limit the maximum number of lines in the console to 100 by default)

Hello from uhta3d )))
I'm in telegram: Lastromantik

Fernando

Fortgeschrittener

  • »Fernando« ist der Autor dieses Themas

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

3

Dienstag, 22. Juni 2021, 00:35

Thanks for your answer.

Why not scrolling it? How to set more lines?

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

4

Dienstag, 22. Juni 2021, 00:40


Hello from uhta3d )))
I'm in telegram: Lastromantik

Fernando

Fortgeschrittener

  • »Fernando« ist der Autor dieses Themas

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

5

Dienstag, 22. Juni 2021, 01:13

Thanks very much: this is the solution in your link: *thumbsup*

[MAXLINES=NN]
Defines the maximum lines to log, the default is 100.