Recommended Posts

I did program something with two "own Blocks" wich work together, but for that I need to check if the text entered in the text parameter of the first block matches the one of the second block.

Basically I need to know how to check if "Text variable one" matches "Text variable two".  Please comment if you know how to do that, or if you have any good alternatives, currently I use numbers, but that's hard to keep track off.

Edit: I program in Mindstorms Ev3 with the Ev3 brick

Edited by Monsbot

Share this post


Link to post
Share on other sites

Hello,

I believe a picture will be helpful so I can help you.

Share this post


Link to post
Share on other sites

And please tell us which platform/hardware and software you are using. I assume you are talking about Mindstorms EV3, but we all know the consequences of assumptions.

Welcome to EB btw :sweet:

Share this post


Link to post
Share on other sites
4 minutes ago, JintaiZ said:

Hello,

I believe a picture will be helpful so I can help you.

This but for Text. The normal switch wouldn't work, because it wouldn't have two inputs to compare

 

image.png.12820fb7f0c4ea6522bcb55b1ffdb53a.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.