Jump to content
THIS IS THE TEST SITE OF EUROBRICKS! ×
THIS IS THE TEST SITE OF EUROBRICKS!

Recommended Posts

Posted (edited)

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
Posted

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:

Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...