Why doesn't bbSystemPropety( ) Work?

Archives Forums/Blitz3D SDK Programming/Why doesn't bbSystemPropety( ) Work?

itsdanreed(Posted 2008) [#1]
Hi, I modified my BlitzMAX Module to return system properties, but all it does is return the same number no matter what value I use. So, the question is, is this command broken?


Floyd(Posted 2008) [#2]
In Blitz3D SystemProperty() returns a string.

So if you had a working bbSystemProperty() it would be a string, not a number.


itsdanreed(Posted 2008) [#3]
it doesn't work that way either, for example...

Global dir:String = String.FromCString( bbSystemProperty("tempdir") )

Doesn't work.


Warner(Posted 2008) [#4]
I think the declaration should be somewhat like this:
Function bbSystemProperty$z(name$) = "bbSystemProperty"
However, there is a good chance that the systemproperty function isn't included at all.