Hello.

Can Nim fill array with same value (not zero) while defining array? I know 
about `fill` method in standard library, but it is initialization in runtime 
(instead of creating static filled memory blocks in pre pre main by compiler).
    
    
    int array[10] = {500};
    
    int main() {
    printf("%d", array[0]);
    return 0;
    }
    
    
    Run

Reply via email to