That depends on what you are doing inside "iupmatrixformatattrib1".

Best,
Scuri

> -----Original Message-----
> From: Ano Nymous [mailto:[email protected]]
> Sent: quarta-feira, 23 de maio de 2012 12:11
> To: IUP discussion list.
> Subject: [Iup-users] double quoted string using IupSetAttributes
> 
> hi there,
> was trying to code a csv file viewer using fasm
> 
> https://secure.bluehost.com/~flatasse/subdomains/board/topic.php?t=14282
> 
> but i face a little bit problem regarding the double quoted string.
> 
> my sample csv data file.
> 
> 1     Goo'sgle        4.30    8394883
> 2     Mic\"rosoft     3.5     3838888
> 3     Dell    2.35    1233455
> 4     Ac"er   8.7     9983877
> 5     Hp      1.35    3342245
> 6     C\\"ompaq       2.3     4445899
> 
> 
> after inserted into IupMatrix, i got like below.
> 
> Goo'sgle
> rosoft"
> Dell
> er"
> Hp
> ompaq"
> 
> the buffer that i logged before pumping into IupMatrix is like below
> 
> 2012-05-23 23:08:43   828
>       1:1="1",1:2="Goo'sgle",1:3="4.30",1:4="8394883"
> 2012-05-23 23:08:43   828
>       2:1="2",2:2="Mic\"rosoft",2:3="3.5",2:4="3838888"
> 2012-05-23 23:08:43   828     3:1="3",3:2="Dell",3:3="2.35",3:4="1233455"
> 2012-05-23 23:08:43   828     4:1="4",4:2="Ac"er",4:3="8.7",4:4="9983877"
> 2012-05-23 23:08:43   828     5:1="5",5:2="Hp",5:3="1.35",5:4="3342245"
> 2012-05-23 23:08:43   828
>       6:1="6",6:2="C\\"ompaq",6:3="2.3",6:4="4445899"
> 
> the code i use to format the attribute is like below
> iupmatrixformatattrib1        db ',%i:%i="%s"',0
> cinvoke
wsprintf,[matrixbuffer],iupmatrixformatattrib1,[lns],[col],[straddr]
> 
> any idea?
> 
>
----------------------------------------------------------------------------
--
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat
> landscape has changed and how IT managers can respond. Discussions will
> include endpoint security, mobile security and the latest in malware
threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to