Variables Issue

Started by Xredarchannel on Sat, 10/05/2019 - 12:24

Topic category: Bugs and solutions

Last seen on 10:00, 17. Nov 2019
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Variables Issue
Sat, 10/05/2019 - 12:24

Hello everyone.

I was trying to make something like a lucky block when i came across a problem:

When I try to create a variable, either Global or Local, I can't. Global variables don't appears in the related list and Local variables appear but I cant select them with the "get" or "set to" blocks of the procedure.

I don't understand if this is caused by something wrong I did or by an error of the program. Please help me.

Thanks to everyone reply.

Last seen on 18:41, 17. Nov 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
To see your local variables,…
Sat, 10/05/2019 - 12:59

To see your local variables, create your procedure and your local variable9s), after save the mod element, and re open it. It's only cause because the variable aren't still save, so MCreator don't know they exist.

Keep in mind local variables…
Sat, 10/05/2019 - 21:15

Keep in mind local variables only exist for the time of procedure execution. Each procedure even has own set of local variables.