10-31-2023, 01:13 AM
(10-30-2023, 11:50 PM)Kernelpanic Wrote: Again: Can something like this be implemented in a function in QB64?Not in the way it behaves in languages like C and Java, it would have to be built into the language to work properly. Ex. In C and Java you can do stuff like this:
Code: (Select All)
x = (a != 0)? 20 / a: 0; // Checks that a is not zero before dividing by it