declare in the DuScript

·

1 min read

declare

declare - used to create functions splitting occurs through "*^".

declare [declare-type] [name] { 
    [body]*^
}

Sample:

declare function test {
    printl (1)*^
};
call function test;

Will: 1

//

// - used to create comments after the command requires a space