You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use literals define and then run literate_macro to unroll each literal to a specific operation. Would it make any sense to have the ability to retrieve how many string entries are in a define? Of course you may do that by declaring another define with the amount of entries, but I've found myself needing this when working on big, reusable code where you want to be able to change as little values as possible. Does this make any sense?
The text was updated successfully, but these errors were encountered:
These contain the amount of entries in a literal define.
Example:
define FOO := apple, banana, pear, kiwi
Adds a FOO.SIZE define that has a value of 4.
Closesnojanath#99
These contain the amount of entries in a literal define.
Example:
define FOO := apple, banana, pear, kiwi
Adds a FOO.SIZE define that has a value of 4.
Closes#99
define LITERALS := hello, world
We can use literals
define
and then runliterate_macro
to unroll each literal to a specific operation. Would it make any sense to have the ability to retrieve how many string entries are in a define? Of course you may do that by declaring another define with the amount of entries, but I've found myself needing this when working on big, reusable code where you want to be able to change as little values as possible. Does this make any sense?The text was updated successfully, but these errors were encountered: