Jump to content
Ketarin forum

autoincrement variable


Aleksandar Nedić
 Share

Recommended Posts

Modifiable variables are associated exclusively to application profiles, not all of Ketarin, and global variables are treated more like constants in practice. Depending on your exact need, it might be possible to do what you're after another way, however. For some of my app profiles I need specific styled version numbers with advanced structure that simply isn't possible within Ketarin, by passing a variable thru another variable assignment (example.com/mystuff/ketarin?myvar={myvar}), and then use php or whatever on the server to effectively format the myvar to be how I need it.

 

You could do this but instead of storing the state locally, store it on the server side, returning an incremented value for each new request. This would be quite a bit more work than you're probably anticipating, but it would work.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.