Home » Extra libraries, Code snippets, applications etc. » U++ Esc Interpreter, Esc Macros and templates » Esc: maps nested in arrays and vice versa - underdevelopment or a bug?
Re: Esc: maps nested in arrays and vice versa - underdevelopment or a bug? [message #3202 is a reply to message #3200] |
Fri, 12 May 2006 15:58 |
|
fudadmin
Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
|
Ultimate Contributor Administrator |
|
|
ok, here is a simple example:
menus1={ menu :"MainMenu", submenus :"MainSubmenu1" };
menus2={ "menu":"MainMenu", "submenus":"MainSubmenu1" };
x<<to_string(menus1)<<"\n";
x<<to_string(menus1)<<"\n";
OUTPUT:
{ void:"MainSubmenu1" }
{ "menu":"MainMenu" }, "submenus":"MainSubmenu1" }
Is this normal?
And I can't understand the reason for one more extra curly bracket in the middle in the case with quoted keys (menu2)...
[Updated on: Fri, 12 May 2006 15:58] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun May 05 00:02:41 CEST 2024
Total time taken to generate the page: 0.02507 seconds
|