Alias missing?
BlitzMax Forums/BlitzMax Programming/Alias missing?
| ||
Hi, Has the 'Alias' keyword gone missing? It used to be there and is still referenced in the 'identifiers' documentation, but it won't compile.. unless I've forgotten how it works.. |
| ||
As far as I know, it never actually worked. |
| ||
I think in an early version it worked but it was taken out soon after. |
| ||
What was it? |
| ||
Oh, alright then.. What was it? bob Alias float (don't remember the exact syntax) Local j:bob = 0.45 Somewhat similar to typedef in c++, it allowed you to make an alias for a type, so it was easier to replace. Useful for testing stuff with different things, such as easily replacing floats with doubles without having to search/replace all the affected code. |
| ||
wrong post. |