Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array: CurIndex expression #486

Open
2 tasks done
XHXIAIEIN opened this issue Feb 24, 2025 · 0 comments
Open
2 tasks done

Array: CurIndex expression #486

XHXIAIEIN opened this issue Feb 24, 2025 · 0 comments

Comments

@XHXIAIEIN
Copy link

XHXIAIEIN commented Feb 24, 2025

Reviewed guidelines

  • I have read and understand the suggestion guidelines

Checked for duplicate suggestions

  • I checked for existing similar suggestions

Summary

Array objects missing a "CurIndex" expression that records how many elements have been foreach. This is very helpful on 2D/3D arrays.

Possible workarounds or alternatives

Use local variables to record loopindex yourself

Image

Array Foreach Example.c3p.zip

Proposed solution

Added 'CurIndex' expression

Why is this idea important?

This is not a difficult task for experienced developers, but for novices, they will feel that the experience is "interrupted" and suddenly they don't know where to start.

Additional remarks

It would be better if it could support "Stop loop" action.

@XHXIAIEIN XHXIAIEIN changed the title Array: CurIndex Array: CurIndex expression Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant