Ask Your Question
0

User-written model with character ICON

asked 2022-04-21 19:19:18 -0500

snj gravatar image

updated 2022-04-21 19:21:42 -0500

When I develop a user-written model for metering and calculating the current of a branch, I need to fill a set of parameters to identify the branch with from bus, to bus and circuit id. The parameter circuit id is in the form of a two- character string. When I debug the dll, I find the ICON is 0. How to get the character from ICON? May someone help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2022-04-22 01:17:45 -0500

perolofl gravatar image

The ICON array can only store integers. "Character ICONS" are therefore stored in a parallel CHARACTER array called CHRICN, with the same indexing.

For example, you will find the circuit id in CHRICN(I+2) if the third ICON parameter is used for circuit id.

edit flag offensive delete link more

Comments

thanks for the answer!!!

snj gravatar imagesnj ( 2022-04-22 01:21:08 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2022-04-21 19:19:18 -0500

Seen: 47 times

Last updated: Apr 22