Xojo Conferences
XDCMay2019MiamiUSA

How make empty REALstring ? (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: Using Windows GDI+
Next thread: Subclassing Window


macosx and unix paths   -   GOLD
  How make empty REALstring ?   -   Ruslan Zasukhin
   Re: How make empty REALstring ?   -   Einhugur.com
   Re: How make empty REALstring ?   -   Will Leshner
    Re: How make empty REALstring ?   -   Ruslan Zasukhin
   Re: How make empty REALstring ?   -   Theodore H. Smith

How make empty REALstring ?
Date: 02.06.05 09:54 (Thu, 02 Jun 2005 11:54:58 +0300)
From: Ruslan Zasukhin
Hi All,

What is the best way to create empty string ?

REALstring Field_GetStorageEncoding( REALobject inField, long param )
{
REALstring res;

return res; // here is garbage now.
}

Re: How make empty REALstring ?
Date: 02.06.05 11:40 (Thu, 2 Jun 2005 10:40:00 -0000)
From: Einhugur.com
How about REALstring res = 0 ?

(REALstrings may be zero-ed)

----- Original Message -----
From: "Ruslan Zasukhin" <<email address removed>>
To: "REALbasic Plugins" <<email address removed>>
Sent: Thursday, June 02, 2005 8:54 AM
Subject: How make empty REALstring ?

> Hi All,
>
> What is the best way to create empty string ?
>
> REALstring Field_GetStorageEncoding( REALobject inField, long param )
> {
> REALstring res;
>
> return res; // here is garbage now.
> }
>
> --
> Best regards,
>
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
>
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
>
> [I feel the need: the need for speed]
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: How make empty REALstring ?
Date: 02.06.05 18:27 (Thu, 2 Jun 2005 10:27:39 -0700)
From: Will Leshner

On Jun 2, 2005, at 3:40 AM, Einhugur.com wrote:

> How about REALstring res = 0 ?

Right. I'm pretty sure you can just return NULL for an empty string.

Re: How make empty REALstring ?
Date: 02.06.05 18:29 (Thu, 02 Jun 2005 20:29:13 +0300)
From: Ruslan Zasukhin
On 6/2/05 8:27 PM, "Will Leshner" <<email address removed>> wrote:

>
> On Jun 2, 2005, at 3:40 AM, Einhugur.com wrote:
>
>> How about REALstring res = 0 ?
>
> Right. I'm pretty sure you can just return NULL for an empty string.

Ok, thank you guys

Re: How make empty REALstring ?
Date: 02.06.05 18:45 (Thu, 2 Jun 2005 18:45:42 +0100)
From: Theodore H. Smith

return 0;

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>