Re: [Pharo-dev] Doubt in Pharo | Newbie

2014-07-15 Thread stepharo

Superb!
I like the two proposals :)

On 15/7/14 08:47, Yuriy Tymchuk wrote:

Already answered here: 
http://stackoverflow.com/questions/24750371/dictionary-to-string

On 15 Jul 2014, at 08:00, Dokania, Harshit  wrote:


Hello All,

I am trying to create a database table using pharo, sqlite. I have taken the 
argument column names and data type as dictionary.

For e.g. "a Dictionary(#DOB->Date #Name->String #Salary->Number )".

Now I need to parse over it using keysAndValuesDo: to create a string from it "DOB 
Date,Name String,Salary Number" which would be used in query.

I am not able to concatenate them correctly. Could you suggest some idea.


Harshit









Re: [Pharo-dev] Doubt in Pharo | Newbie

2014-07-14 Thread Yuriy Tymchuk
Already answered here: 
http://stackoverflow.com/questions/24750371/dictionary-to-string

On 15 Jul 2014, at 08:00, Dokania, Harshit  wrote:

> 
> Hello All,
> 
> I am trying to create a database table using pharo, sqlite. I have taken the 
> argument column names and data type as dictionary.
> 
> For e.g. "a Dictionary(#DOB->Date #Name->String #Salary->Number )". 
> 
> Now I need to parse over it using keysAndValuesDo: to create a string from it 
> "DOB Date,Name String,Salary Number" which would be used in query.
> 
> I am not able to concatenate them correctly. Could you suggest some idea.
> 
> 
> Harshit




[Pharo-dev] Doubt in Pharo | Newbie

2014-07-14 Thread Dokania, Harshit

Hello All,

I am trying to create a database table using pharo, sqlite. I have taken the 
argument column names and data type as dictionary.

For e.g. "a Dictionary(#DOB->Date #Name->String #Salary->Number )". 

Now I need to parse over it using keysAndValuesDo: to create a string from it 
"DOB Date,Name String,Salary Number" which would be used in query.

I am not able to concatenate them correctly. Could you suggest some idea.


Harshit