Cykotech
Cykotech
Explore posts from servers
CC#
Created by Cykotech on 12/7/2024 in #help
Iterate through Enums
So I'd have to calculate the index, then apply the modulo. In seperate equations.
22 replies
CC#
Created by Cykotech on 12/7/2024 in #help
Iterate through Enums
randomEnum++ % 4
22 replies
CC#
Created by Cykotech on 12/7/2024 in #help
Iterate through Enums
Can I apply further calculations after using the increment operator?
22 replies
CC#
Created by Cykotech on 12/7/2024 in #help
Iterate through Enums
Cuz I want the next enum. And the modulo would keep the value within the bounds of the enum?
22 replies
CC#
Created by Cykotech on 12/7/2024 in #help
Iterate through Enums
The number of times is irrelevant. The enum would only change when an action is taken. But I could do something like this?
void changeEnum()
{
randomEnum = randomEnum + 1 % 4;
}
void changeEnum()
{
randomEnum = randomEnum + 1 % 4;
}
I picked 4 because that's the length of my enum.
22 replies
CC#
Created by Cykotech on 12/7/2024 in #help
Iterate through Enums
I would essentially want to go 0, 1, 2, 3, 0, 1....
22 replies
CC#
Created by Cykotech on 10/11/2024 in #help
Convert from MSSql to MySql
Yea that's what I did. It makes sense knowing that was the problem.
7 replies
CC#
Created by Cykotech on 10/11/2024 in #help
Convert from MSSql to MySql
Perfect. Thank you so much!
7 replies
CC#
Created by Cykotech on 10/10/2024 in #help
✅ Razor page not updating properly
Nevermind. Figured out it was because I was still setting the Movie field to the entire context not the filtered results.
2 replies
KPCKevin Powell - Community
Created by Cykotech on 7/3/2024 in #front-end
How do I grab the height of an element in a different .scss module and React component?
No description
4 replies
KPCKevin Powell - Community
Created by Cykotech on 7/3/2024 in #front-end
How do I grab the height of an element in a different .scss module and React component?
Just as a clarification because I wrote CSS in the content of my post, I am using Sass.
4 replies
CC#
Created by Cykotech on 6/9/2024 in #help
Truncating 1 and 0 and returning as a double
But I switched from a direct return to a variable so that I had something to log.
27 replies
CC#
Created by Cykotech on 6/9/2024 in #help
Truncating 1 and 0 and returning as a double
The problem that was fixed by switching from || to &&
27 replies
CC#
Created by Cykotech on 6/9/2024 in #help
Truncating 1 and 0 and returning as a double
I was trying to log things to find the problem
27 replies
CC#
Created by Cykotech on 6/9/2024 in #help
Truncating 1 and 0 and returning as a double
I think I had it set up like that because I was having trouble with the floating points
27 replies
CC#
Created by Cykotech on 6/9/2024 in #help
Truncating 1 and 0 and returning as a double
Oh... Lol Im dumb. That should fix it
27 replies
CC#
Created by Cykotech on 6/9/2024 in #help
Truncating 1 and 0 and returning as a double
I thought it meant or?
27 replies
CC#
Created by Cykotech on 6/9/2024 in #help
Truncating 1 and 0 and returning as a double
So I should change it to speed > 0 and speed < 4
27 replies
CC#
Created by Cykotech on 6/6/2024 in #help
Extension Methods
That's typically my problem though is that I don't read errors correctly :JoyGonnaAscend:
8 replies
CC#
Created by Cykotech on 6/6/2024 in #help
Extension Methods
I appreciate the help though.
8 replies