is this a good idea or not?

Blitz3D Forums/Blitz3D Programming/is this a good idea or not?

Turkwoyz(Posted 2005) [#1]
Hi, I was wondering whether this use of SetEnv() / GetEnv() is safe or not:thanks


jfk EO-11110(Posted 2005) [#2]
It's an interesting method of using a string identifier for a an array. I don't know if it is secure. Probably two Blitz apps would collide when running simultanously. Fact is, the Blitz Env Varliables are only there as long as your app is running.

Basicly you could use an ordinary string array to get the same, and simply parse the array to find a certain bug name. Physicly it would be the same amount of work for the computer since the bug name must be found anyway. I even guess it's faster when you do it directly within blitz. eg:
for i=0 to num_of_bugs
 if searched_bug$=bug$(i)
  ...
 endif
next



Turkwoyz(Posted 2005) [#3]
ok, thanks