PDA

View Full Version : String Id - Can we use it directly?



NewsArchive
12-04-2001, 01:00 AM
Quick question: Do we need ot assign a String Id to a variable before use
it? Or we can directly use it?

For example, I have a String Id IDS_WARNING_MSG1, can I use it as follows:
MessageBox(@IDS_WARNING_MSG1, SEVERE);

NewsArchive
12-04-2001, 01:00 AM
That should be fine.

For a quick test you can do this in a blank script:

////////////////////////////////////////////////////////////////////////////
////////////////////
#include "ifx.h"

program
MessageBox(@IDS_WARNING_MSG1, SEVERE);
endprogram
////////////////////////////////////////////////////////////////////////////
////////////////////

Then just run it.

Kent

"fanny" <fxiao@emware.com> wrote in message
news:3c0d601b@news.installshield.com...
> Quick question: Do we need ot assign a String Id to a variable before use
> it? Or we can directly use it?
>
> For example, I have a String Id IDS_WARNING_MSG1, can I use it as follows:
> MessageBox(@IDS_WARNING_MSG1, SEVERE);
>
>

NewsArchive
12-04-2001, 01:00 AM
Ya, it works.
Thanks!

"Kent Foyer" <kent@installshield.com> wrote in message
news:3c0d641a$1@news.installshield.com...
> That should be fine.
>
> For a quick test you can do this in a blank script:
>
>
////////////////////////////////////////////////////////////////////////////
> ////////////////////
> #include "ifx.h"
>
> program
> MessageBox(@IDS_WARNING_MSG1, SEVERE);
> endprogram
>
////////////////////////////////////////////////////////////////////////////
> ////////////////////
>
> Then just run it.
>
> Kent
>
> "fanny" <fxiao@emware.com> wrote in message
> news:3c0d601b@news.installshield.com...
> > Quick question: Do we need ot assign a String Id to a variable before
use
> > it? Or we can directly use it?
> >
> > For example, I have a String Id IDS_WARNING_MSG1, can I use it as
follows:
> > MessageBox(@IDS_WARNING_MSG1, SEVERE);
> >
> >
>
>