MarkusR Well-Known Member Licensed User Longtime User Sep 9, 2018 #1 is it possible to define the class name in source code? i believe now its based on the file name.
Cableguy Expert Licensed User Longtime User Sep 9, 2018 #2 MarkusR said: is it possible to define the class name in source code? i believe now its based on the file name. Click to expand... The class name is defined in the IDE when you create it. If you add an existing class, you can rename it. When you first run your project, the class will be written to file and the class name is used as file name. Upvote 0
MarkusR said: is it possible to define the class name in source code? i believe now its based on the file name. Click to expand... The class name is defined in the IDE when you create it. If you add an existing class, you can rename it. When you first run your project, the class will be written to file and the class name is used as file name.
MarkusR Well-Known Member Licensed User Longtime User Sep 9, 2018 #3 ok, that means 2 ore more classes in one file is not possible, true? Upvote 0
Cableguy Expert Licensed User Longtime User Sep 9, 2018 #4 Each class can hold more than one "classes" I have a class that I call "helper" were I have about 15 individual objects and/or methods, some needing initializing, other not. A class is just a container... Upvote 0
Each class can hold more than one "classes" I have a class that I call "helper" were I have about 15 individual objects and/or methods, some needing initializing, other not. A class is just a container...
MarkusR Well-Known Member Licensed User Longtime User Sep 9, 2018 #5 me thought more about this in one file. class namea { } class nameb { } class namec { } Upvote 0