question

MOSTAFA K avatar image
0 Likes"
MOSTAFA K asked Joerg Vogel commented

How to check the entries of a list?

Test.fsm

Hello,

I want to check how many entries are existed in a specific partition of my list, from the script. Can anyone help me to do that?

Thanks a lot

FlexSim 21.0.0
listsflexsim 21.0.0
test.fsm (30.0 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jeanette F avatar image
0 Likes"
Jeanette F answered Joerg Vogel commented

Hello @MOSTAFA K,

Check out this post. They do the same thing you asked about.

Please follow our best practices and search for a similar question to answer yours.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image Joerg Vogel commented ·

You can evaluate the array of entries of a list by

yourList.entries(partition ID).length
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.