Results 1 to 3 of 3

Thread: Using underscores in Slice variable names.

  1. #1
    ctennis is offline Registered User
    Name: Caleb Tennis
    Organization: AEI
    Project: Project GINA
    Join Date
    Mar 2006
    Posts
    123

    Using underscores in Slice variable names.

    Is there a reason why underscores aren't permitted in variable names in slice?


    struct MyStruct {
    int some_variable;
    };

    Generates an error because of the underscore.


    Thanks,
    Caleb
    Caleb Tennis
    Analytical Engineering, Inc.
    http://www.aei-tech.com
    Project: Our facility infrastructure heavily utilizes Ice

    Gentoo ebuild maintainer for Ice, IceRuby, etc.

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    This has been discussed several times in these forums. I recommend to do a forum search for "underscores".

  3. #3
    ctennis is offline Registered User
    Name: Caleb Tennis
    Organization: AEI
    Project: Project GINA
    Join Date
    Mar 2006
    Posts
    123
    Thanks! I looked through the docs but didn't find the information. I never thought of searching the forums...
    Caleb Tennis
    Analytical Engineering, Inc.
    http://www.aei-tech.com
    Project: Our facility infrastructure heavily utilizes Ice

    Gentoo ebuild maintainer for Ice, IceRuby, etc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. IceGrid Replica Names
    By zhi in forum Help Center
    Replies: 5
    Last Post: 03-01-2011, 12:59 AM
  2. Controling Java Slice package names.
    By vincei in forum Comments
    Replies: 2
    Last Post: 09-11-2008, 10:57 PM
  3. Replies: 1
    Last Post: 11-29-2007, 07:26 AM
  4. IceBox service names
    By rbx in forum Help Center
    Replies: 1
    Last Post: 12-05-2003, 10:35 AM
  5. Slice identifiers cannot contain underscores?
    By dthomson in forum Comments
    Replies: 12
    Last Post: 03-07-2003, 04:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •