MULTILINE GETS

MULTILINE GETS

Postby patili » Mon Feb 20, 2006 10:17 pm

Hi all
i want to extract each line of a multiline get into a string for printing this string.
I'm just a Fivewin beginner and i don't know how (Don't laugh..)
Thanks.
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Re: MULTILINE GETS

Postby Enrico Maria Giordano » Mon Feb 20, 2006 10:20 pm

Have you tried MemoLine()?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby patili » Mon Feb 20, 2006 10:25 pm

I am using Fw 2.1 and i don't find this function
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Postby Enrico Maria Giordano » Mon Feb 20, 2006 10:28 pm

It is a Clipper function.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby patili » Mon Feb 20, 2006 10:34 pm

Houpps
sometimes i forget to look in Clipper's functions .
I am maniac by Fivewin.
I think memoline() will work fine
Thankjavascript:emoticon(':lol:')
Thanks ....(of not laughing)
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Postby DanielPuente » Tue Feb 21, 2006 4:45 am

Patili:

Code: Select all  Expand view  RUN
FOR I:=1 TO MLCOUNT(cMemo,60)
   oPrn:cmSay(cLinea, 05.9, MEMOLINE(cMemo,60,I) , oFont2)
NEXT


The edit memo is edited with a fixed size font like courier new and it has the exact size to enter 60 characters in it.

Regards,
Daniel Puente
Mar del Plata, Argentina
danielpuente@speedy.com.ar
puenteda@hotmail.com
DanielPuente
 
Posts: 108
Joined: Sun Oct 09, 2005 6:12 pm
Location: Mar del Plata - Argentina

Postby patili » Tue Feb 21, 2006 7:18 am

Thanks for you two
It works fine
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 3 guests