Just wanted to delete all the appended quotes!
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription
The 'put into field instructions2' was in there to check what was going on.
It works now the way I like it.
2018-03-05 21:37 GMT+01:00 Mike Bonner via use-livecode <
> Hmm. In this case, you know the condition of
Hmm. In this case, you know the condition of failure, so if everything else
is working as you need, i'd just check for that condition and act
if char 1 of the last item of tInstructions is "W" and the number of items
of tInstructions > 1 then..
Do you want tInstructions to be empty
Thanks Mike that helped a lot!
I extended your script with this:
repeat with x= 1 to the number of items of tInstructions
put char 2 of item x of tInstructions into tChar
put "v" into tNaam
set the label of btn tNaam to tChar
set the showname of btn tNaam to true
put char 1 of item x of
Ah, I understand better now.
Something like this should work. Its just a quicky, no time to really test
before my doc appointment.
local tInstructions -- gotta have this cause a non declared isn't seen as
repeat with i = 1 to 4
case the backgroundcolor
Thanks for your answer!
The exercises are actually binary exercises but the children don't know.
All they know is a 'puzzle' to solve with pixelcoloring.
Funny I can solve it this way :-)
Still figuring how to do it because the children instruction is not just
binary writing as you
If you want to know which "pixel" is on in a row, you could treat them as
binary bits. Farthest right in a row is bit 1, next to the left is bit 2..
So your buttons could be 0 0 1 0 1 0 1
64 32 16 8 4 2 1
for a total of 21 which would
Thanks for your reply!
Your app is the same as what I did before and that's quit easy to do.
For now I want to build instruction cards based upon a pixel drawing.
First you makel your drawing and then it gives you your instruction card.
The other way around.
My question is how to do that?
I made a similar application, you can look,
2018-03-05 3:55 GMT-04:00 William de Smet via use-livecode <
> Hi there,
> This is quite a challenge for me.
> I an trying to build a
This is quite a challenge for me.
I an trying to build a template in which users (small children) can
'pixeldraw' something and based on the drawing the instruction will be made.
The instruction is needed for other children to make the pixel drawing.
The instruction is quite special.
Mail list logo