package com.mindprod.example;

/**
 * Example use of Bali literals, when his code is shown in JDisplay. demonstrate the use of how Bali would display
 * various types of literal, simulated by JDisplay.
 * <p/>
 * composed with IntelliJ IDEA
 *
 * @author Roedy Green, Canadian Mind Products
 * @version 1.0, 2006-03-02
 */
@SuppressWarnings( { "UnusedAssignment" } )
public final class TestBaliLiterals
    {
    // --------------------------- main() method ---------------------------

    /**
     * Debugging harness for a Frame
     *
     * @param args command line arguments are ignored.
     */
    @SuppressWarnings( { "unused", "OctalInteger" } )
    public static void main( String args[] )
        {
        String flavour = "strawberry";
        char letterQ = 'q';
        char linefeed = '\n';
        // positive numbers
        int aSmall = 42;
        int aMedium = 4232;
        int aLarge = 4234562;
        long aLongSmall = 42L;
        long aLongMedium = 42342l;
        long alongLarge = 42358899342L;
        int aOctal = 042;
        long aBigOctal = 04777762l;
        int aSmallHex = 0x42;
        int aMediumHex = 0x4fffff;
        long aBigHex = 0x47ffaabbccddL;
        // negative numbers
        int nSmall = -42;
        int nMedium = -4232;
        int nLarge = -4234562;
        long nLongSmall = -42L;
        long nLongMedium = -412342l;
        long nlongLarge = -42358899342L;
        int nOctal = -042;
        long nBigOctal = -04777762l;
        int nSmallHex = -0x42;
        int nMediumHex = -0x4fffff;
        long nBigHex = -0x47ffaabbccddL;
        }// end main
    }