Why dictionaries' values are only numbers?

Discussion and feedback on Construct 2

Post » Tue Jan 19, 2016 9:43 am

Does anyone know why dictionaries' values in Construct 2 can only be numbers but not any other types of objects

I just wonder why. So, if anyone knows the reason I would be happy to know it too.

Obviously, we could reference any object by storing UIDs or IIDs as values in dictionaries, so it's not a big deal to be able to store only numbers. Maybe this is the reason why.
B
11
S
3
G
1
Posts: 19
Reputation: 905

Post » Tue Jan 19, 2016 9:51 am

You can use text values too. Actually numbers and text are the only values you can use in C2 expressions.
B
89
S
30
G
95
Posts: 5,157
Reputation: 63,450


Return to Construct 2 General

Who is online

Users browsing this forum: technofou and 1 guest