Go to main content

current_function

Return the current function

CURRENT_FUNCTION

NAME

current_function - Display the current function in Sncode.

SYNOPSIS

current_function();

DESCRIPTION

This function will return the current_function.

This function is available from version 5.164 of Sncode.

EXAMPLES

function f()
    current_function();
endf

// f

package p
    function f1()
        current_function();
    endf
endp

// p::f1

SEE ALSO

AUTHOR

Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2021-10-01 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.