Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » Witz and map variable
Re: Witz and map variable [message #38064 is a reply to message #38054] Thu, 29 November 2012 14:55 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Zbych wrote on Thu, 29 November 2012 11:26

I have one more problem with map. I can not display map with key zero:
*.cpp
	ValueMap yn;
	yn.Add(0, "No");
	yn.Add(1, "Yes");
	http
		("YESNO", yn)
	[...]

*.witz:
	$YESNO[0] <-- displays nothing
	$YESNO[1]


I am quite sure I already saw this in forum, but I can not find it now.

I think you mean this post. That problem was fixed, but it seems it only works for ValueArray. Try using that or ValueMap with some other indices...

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to close a Thread?
Next Topic: What's wrong with this code?
Goto Forum:
  


Current Time: Fri Aug 22 04:48:44 CEST 2025

Total time taken to generate the page: 0.05871 seconds