Option Nogosub

Disables support for KeyPgGosubGoSub and KeyPgOngosubOn Gosub.

Syntax
	Option Nogosub

Description
	Option Nogosub disables support for KeyPgGosubGoSub and KeyPgReturnGosubReturn (from gosub).

	Because Return could mean return-from-gosub or return-from-procedure, 
	KeyPgOptiongosubOption Gosub and Option Nogosub can be used to enable and disable KeyPgGosubGoSub 
	support.  When KeyPgGosubGoSub support is disabled, KeyPgReturnReturn is then recognized as 
	return-from-procedure.

Example
	'' Compile with the "-lang qb" compiler switch

	'$lang: "qb"

	'' turn off gosub support
	Option nogosub

	Function foo() As Integer
	   Return 1234
	End Function

	Print foo

Dialect Differences
	* Only available in the CompilerOptlang-lang fblite and CompilerOptlang-lang qb dialects.

Differences from QB
	* New to FreeBASIC

See also
	* KeyPgDdfboptiongosub__FB_OPTION_GOSUB__
	* KeyPgOptiongosubOption Gosub
	* KeyPgGosubGoSub
	* KeyPgReturnReturn (From Procedure)
	* KeyPgReturnGosubReturn (From Gosub)

