comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Is it possible to set a string to a veriable name?

Is it possible to set a string to a veriable name?
type: item
description: I have an array of string and want to use its elements as veriable names in a function. How can I do? Is there any simple code to replace the ones below? For example: STR = ['a', 'b', 'c', 'd', 'e'] for i=0, 4 do begin case i of 0: data=a 1: data=b 2: data=c 3: data=d 4: data=e endcase .............. .............. .............. endfor
date: 2009-09-04T11:36:30-00:00