This forum has been archived. Please start a new discussion on GitHub.

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.



  • marc
    marc Florida
    This has been discussed several times in these forums. I recommend to do a forum search for "underscores".
  • Thanks! I looked through the docs but didn't find the information. I never thought of searching the forums... :)