Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: compiler crash on indexing expression with function call  (Read 5173 times)

0 Members and 1 Guest are viewing this topic.

jbw

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • View Profile
compiler crash on indexing expression with function call
« on: December 02, 2007, 01:24:26 PM »

Code: [Select]
var x; //-- create new container

//-- create x.n1 entry in 2 steps
var n = "n"+ToString(1); //-- establish the name "n1"
x[n] = 1; //-- initialize entry under that name: so far, so good ;-)

//-- the same in 1 step is impossible because of compiler crash
x["n"+ToString(1)] = 1; //-- would you like the same, but smarter? forget it!
Logged
 

Page created in 0.015 seconds with 23 queries.