Search

February 12, 2024
General »
...if (!condition) goto end;
    body;
    increment;
    goto start;
end:
```
`continue` is also `goto start`.

Sometimes...
January 25, 2024
Issues »
...edit
Work around for goto case CTFE bug

Shows that goto case does work with...
January 25, 2024
Issues »
...action=edit
Goto case CTFE compilation error

If the label in a `goto case` is...
January 16, 2024
General »
...output) {
		switch(state) {
			case 0:
				goto LABEL0;
			case 1:
				goto LABEL1;
			default:
				assert(0);
		}

		
		LABEL0...
December 31, 2023
Announce »
...post about how D handles it with `goto case`. It got a lot of upvotes...
December 30, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=24291

--- Comment #9 from Walter Bright <bugzilla...
December 30, 2023
Issues »
...cannot compile     |ImportC: support computed
                   |janet.c                     |goto
                 OS|Linux                       |All

--- Comment #8 from Walter...
December 25, 2023
Issues »
...C) int puts(const char*);

int main () {
  goto L0;
  scope(exit) puts("meow");

  L0:
  puts...
December 21, 2023
Issues »
...expected following `goto`
src/core/vm.c(643): Error: found `*` when expecting `;` following `goto`
statement...
December 20, 2023
Learn »
...a goto statement or labeled break/continue.
```D
bool foo()
{
   while(true)
   {
        L2:
        goto L2...
1 2 3 4 5 6 7 8 9
Next ›   Last »