Re: "Default" value field for a constant



This is what I use them for, though this is a pretty weak example.

Say I have a String Constant that I want to be "Windows OS" or "OSX"
depending on which operating the program is compiled for, I then add
"Windows OS" and change the platform to Windows and add "OSX" and change the
platform to Mac, and don't have a default and it will use the proper
constant depending on the OS.

And if I wanted it to say one thing in English and another thing in French
I'd add it twice and change the languages.

But honestly I really don't understand your question.

In the OS column, I believe the word 'default' refers to the String not to
the operating system so if you have a value default in the OS column, it
just uses that string reguardless of the OS Same with the language.


.



Relevant Pages

  • Re: dynamic type checking - a pauline conversion?
    ... I was depending less and less ... The more I depended upon the unit tests, ... Soft/dynamic/variable-typed languages have their benefits, ... even say they are sort of the same benefits that XP advocates seem to ...
    (comp.object)
  • Re: Windows Ce 5.0 Sluggish
    ... depending on nr of languages) for each loaded module does not slow ... advanced settings and then ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Freebsd vs. linux
    ... > I remember when I had the luxury of being able to play with operating ... instead of depending on them for productive work. ...
    (freebsd-questions)
  • Re: Parsing "February 24th, 2006" to java.util.Date
    ... Would getSuffixFor() return null, or throw an exception, for a Locale for which these concepts of suffix don't exist? ... Also, with "getWordFor", there exists some languages where "the word for a number" changes depending on what you are counting. ...
    (comp.lang.java.programmer)
  • Re: anyone any tips for getting free sky?
    ... Depending on what exactly you are after and your knowledge of ... languages there is a fair amount of stuff available free elsewhere ... Prev by Date: ...
    (uk.tech.tv.sky)