• Post Reply Bookmark Topic Watch Topic
  • New Topic

EL [] operator query.

 
Nikunj Kshatriya
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given:
------------------------------------------------------

-------------------------------------------------------
Would the above code print "find me!" ?

According to HF S&J pg 428 mock answers it would !
Looking at the specs, I dont think it would not, because the quotes around idx wouldnt allow the request attribute to be evaluated.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is quite easy to test, isn't it?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!