Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Code is reachable after returning #1

Closed
DEntis-T opened this issue Apr 17, 2023 · 0 comments
Closed

Code is reachable after returning #1

DEntis-T opened this issue Apr 17, 2023 · 0 comments

Comments

@DEntis-T
Copy link
Contributor

DEntis-T commented Apr 17, 2023

public&form.testFunc;
do;
	using::console.cout,"testFunc was called.";
	return.str,"testFunc returned this.";
	using::console.cout,"This was also printed.";
end;

using::console.cout,testFunc;

This part of the code:

using::console.cout,"This was also printed.";

Will still get called.

@DEntis-T DEntis-T pinned this issue Apr 17, 2023
@DEntis-T DEntis-T reopened this Apr 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant