Alias missing?

BlitzMax Forums/BlitzMax Programming/Alias missing?

fredborg(Posted 2009) [#1]
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..


N(Posted 2009) [#2]
As far as I know, it never actually worked.


Azathoth(Posted 2009) [#3]
I think in an early version it worked but it was taken out soon after.


Czar Flavius(Posted 2009) [#4]
What was it?


fredborg(Posted 2009) [#5]
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.


ziggy(Posted 2009) [#6]
wrong post.