Step 1:
static void Job32(Args _args)
{
dialog dialog;
dialogGroup dialogGroup;
dialogField dialogField;
Container con;
str k;
int l;
int i;
int j;
str res;
;
dialog = new Dialog("Simple Dialog");
//dialogGroup = dialog.addGroup("Hi");
dialogField = dialog.addField(extendedTypeStr(Description),"Enter Description");
if (dialog.run())
{
con = str2con(dialogField.value(),' ',false);
l = conLen(con);
for(i=1;i<=l;i++)
{
k = conPeek(con,i);
con = conPoke(con,i,str2CapitalWord(k));
}
for(j=1;j<=l;j++)
{
//res = conPeek(con,j);
res = res+" "+conPeek(con,j);
}
print res;
pause;
}
}
step 2: Run this job
Result:
static void Job32(Args _args)
{
dialog dialog;
dialogGroup dialogGroup;
dialogField dialogField;
Container con;
str k;
int l;
int i;
int j;
str res;
;
dialog = new Dialog("Simple Dialog");
//dialogGroup = dialog.addGroup("Hi");
dialogField = dialog.addField(extendedTypeStr(Description),"Enter Description");
if (dialog.run())
{
con = str2con(dialogField.value(),' ',false);
l = conLen(con);
for(i=1;i<=l;i++)
{
k = conPeek(con,i);
con = conPoke(con,i,str2CapitalWord(k));
}
for(j=1;j<=l;j++)
{
//res = conPeek(con,j);
res = res+" "+conPeek(con,j);
}
print res;
pause;
}
}
step 2: Run this job
Result:
No comments:
Post a Comment