# Programmatically Defined Comptime Constant?

**URL:** <https://ziggit.dev/t/programmatically-defined-comptime-constant/9026>\
**Category:** Explain\
**Created:** [March 13, 2025, 4:58am UTC](https://ziggit.dev/t/programmatically-defined-comptime-constant/9026 "2025-03-13T04:58:17Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![permutationlock](https://ziggit.dev/user_avatar/ziggit.dev/permutationlock/32/9958_2.png) [@permutationlock](https://ziggit.dev/u/permutationlock)\
**Post date:** [March 13, 2025, 10:35am UTC](https://ziggit.dev/t/programmatically-defined-comptime-constant/9026/10 "2025-03-13T10:35:07Z")

</div>

> [@TheFuzzyGiggler](#):
>
> I thought as much, maybe in a future version there will be a method for making compile time constants.

I believe the functionality you are looking for was intentionally removed, and likely will not be supported. See e.g. [this post](https://ziggit.dev/t/container-level-comptime-vars/3678/5).

---

_[View the full topic](https://ziggit.dev/t/programmatically-defined-comptime-constant/9026)._
