Melang

Logo

A script language of preemptive scheduling coroutine in single thread

View the Project on GitHub Water-Melon/Melang

Prime Number

mln_prime

Generate a prime number greater than or equal to a given number.

@mln_prime(base);

Input:

Return value:

Error:

Example:

@mln_print(@mln_prime(22));

The output is:

23