> I have a db of integers and I would like to Draw them to the screen so I
> know that the app is retrieving the correct values. I have never tried
> writing a numeric value to the screen before and every example I have uses
> charptr's. Can someone please give a snippet on how to display numeric
> values, it doesn't have to be of type int.You were warned. Thank You
> 
> 
> 
> This is what I have been doing
>      gstrDisplayDate  = MemPtrNew(StrLen(recordP->DisplayDate)+1);
>      StrCopy(gstrDisplayDate, recordP->DisplayDate);
>      WinDrawChars(gstrDisplayDate,StrLen(gstrDisplayDate),5,120);
> How is this done with none CharPtr types?

Of what type is recordP->DisplayDate?

Why do you want to avoid using char pointers? You use the language 
feature that fits the need. In this case, you are converting a number 
into a string of characters so you can put them on the display. There 
has to be a char pointer of one form or another in there somewhere.

--
Roger Chaplin
<[EMAIL PROTECTED]>

Reply via email to