question

Kamil S avatar image
0 Likes"
Kamil S asked Kamil S commented

"rank" is ambiguous - flexsim-module-template

Hi!

I'm moving my usercommands into a .dll. When I try to use ,,rank" command, VS gives me an error: "rank" ambiguous symbol. There's any solution to solve this problem?

I' ve tried VS 2013 and VS 2017 - none of them work,

Other
Other (please specify)
module sdkmodulestemplate
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

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Kamil S commented

Try this:

FlexSim::rank(myNode, 3)

Alternatively, you can try this:

myNode->subnodes[3]

If neither of those work for you, could you post more of the error message or a code sample that won't compile?

· 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.

Kamil S avatar image Kamil S commented ·

Thanks for answer Jordan.

Both solutions work in my case.

0 Likes 0 ·