• Ask Question
  • Propose Category
  • Interview eBook
  • Geek Forums
  • Online Learning
  • Online Quiz
  • Site Updates
  • User Login
    • Login



      Lost Password
      Click here to get activation email.

  • 06-28-2025
GeekInterview.com
  • Interview Questions
    • Fundamentals
      • Concepts
      • General
      • Management
      • Accounting
    • Operating System
      • Operating System
      • Android
      • iOS
      • Microsoft
    • Coding
      • Programming
      • J2EE
      • Languages
    • Database
      • Database
      • Data Warehousing
      • Oracle
    • Applications
      • Applications
      • Clarify CRM
      • Oracle Apps
      • Peoplesoft
      • Siebel
    • Software Testing
      • Testing
      • Testing Tools
    • Miscelleanous
      • Helpdesk
      • Mainframe
      • Networking
      • SAP R/3
      • Web
  • Interview Coaching
    • Career Counseling
    • Job Interview
  • Interview eBooks
    • Accounting eBook
    • C eBook
    • Citrix eBook
    • Job Interview eBook
  • Career Advice
    • Career Change
    • Jobs Help
    • Projects
    • Requests
    • Resume Help
    • Training Advice
  • Engineering
    • Chemical Engineering
    • Civil Engineering
    • Electrical Engineering
    • Electronics Engineering
    • Micro Processor
    • Mechanical Engineering
  • By Company
  • Ask Question
  • Home
  • ashish3220 Answers

Answered Questions

  • Apr 18 2006
    01:18 PM

    5878
    13
    Dim variable1 (10) - declare the dynamic array using dim
    variable1 (1) = "kumar" - store the value in array
    variable1 (2) = "chandru" - store the value in array

    This is the way i tried, but it show the error message like "Name redefined", Is there any possible options available for this, plz send me.">

    Hi i am new to VB Scripting, I have a problem to declare an array in QTP. I am using a variable to declare an array which is come in runtime.Example:Dim variable1 - declare the variable using dimvariable1 = "senthil" - assign the value which is come in run timeDim variable1 (10) - declare the dynamic array using dimvariable1 (1) = "kumar" - store the value in arrayvariable1 (2) = "chandru" - store the value in array This is the way i tried, but it show the error message like "Name redefined", Is there any possible options available for this, plz send me.

    • p_senthil

    Karimnazir

    profile Profileanswers Answers by Karimnazirquestions Questions by Karimnazir

    • Jul 28th, 2008

    You can daeclare a variable as under and then use it as an array:dim aa=Array("kumar","chandru","abcd", "efghijkl")You can test it like:document.write(a(0))output:  kumarOrdocument.write(a(1))output:  chandruHope it helps,Karim

    ashish3220

    profile Profileanswers Answers by ashish3220questions Questions by ashish3220

    • Jul 26th, 2008

    Dim variable1 (10) variable1 (1) = "kumar" variable1 (2) = "chandru" print variable1(1)

    Answer Question  Select Best Answer

Subscribe To RSS Feed

Tags Cloud

Company Interviews
  • Accenture (52)
    • Aptitude Interview Questions
    • Group Discussions Topics
    • Placement Assistance
  • Adobe (7)
    • Placement Assistance
  • AMD (1)
    • Placement Assistance
  • AMDOC (2)
    • Placement Assistance
  • Axes-Technologies (25)
    • Computer Awareness Questions
  • Aztec-Systems (15)
    • Aptitude Interview Questions
    • C Interview Questions
  • BirlaSoft (26)
    • Languages Interview Questions
  • Cisco (35)
    • Micro Processor Interview Questions
  • Cognizant (1)
    • Placement Assistance
  • Dell (22)
    • Aptitude Interview Questions
  • GE (2)
    • Placement Assistance
  • HAL (1)
    • Placement Assistance
  • Infosys (212)
    • Challenging Puzzles
  • ISRO (6)
    • Placement Assistance
  • Mphasis (1)
    • Placement Assistance
  • Oracle (206)
    • Aptitude Interview Questions
    • Java Interview Questions
    • SQL Interview Questions
  • Sonata (65)
    • Analytical Ability Interview Questions
    • C Interview Questions
  • TCS (396)
    • Aptitude Interview Questions
    • C FAQs
    • COBOL Interview Questions
    • Critical Reasoning Questions
    • Quantitative Aptitude Questions
  • Wipro (217)
    • Analytical Ability Interview Questions
    • Languages Interview Questions
    • Verbal Ability Questions

Interview Questions PDF Files

Accounting Interview Questions PDF
Citrix Interview Questions PDF
Best Questions and Answers From C PDF
Job Interview Questions and Answers PDF
Oracle Apps Technical Interview Questions and Answers PDF
Siebel Interview Questions PDF

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.

Latest News

Tags

AccentureWiproAMDAMDOCAxes-TechnologiesAztec-SystemsBirlaSoftCiscoCognizantDellGEHALInfosysISROTCSSonataAdobeOracleMphasis

Contact Us

Geekinterview.com

  • About US
  • Privacy Policy
  • Terms & Conditions
  • DMCA
  • Contact Us

© Copyright 2014-2025 GeekInterview.com | All Rights Reserved


 

It looks like you are using an AD Blocker!

 

 

Please Turn OFF your ad blocker

- OR -

LOGIN to continue using GeekInterview website.

 

 

 

Disable
Ad Blocker

 

Learn More

Login
GeekInterview

 

Login

Create your
GeekInterview account

 

Signup

Continue Reading after Disabling

 

Refresh