Subject: Re: doubt on *VREAD Author: Guowei Li Date: 2008-10-16 17:43:38You can try,
*ASK,II,ENTER THE NUMBER OF PRES. CAVITIES *DIM,NEW_PC,String,128,II *SREAD,NEW_PC(1),PCAV.MAC
Guowei Li Engineering Analyst | Westport Innovations Inc. 604-718-2048 | gli_at_westport.com
-----Original Message----- From: xansys-bounces_at_xansys.org [mailto:xansys-bounces_at_xansys.org] On Behalf Of Rajanikanth, G (GE Infra, Aviation) Sent: October 15, 2008 11:42 PM To: xansys_at_xansys.org Subject: [Xansys] doubt on *VREAD
Greetings,
How to read the the character parameters more than 8 in length in to character array, (PCAV.MAC is the text file containing the character strings in the first column - see below), and also right now am specifying the dimension of the array initially by scalar parameter II (which equals to number of character strings in PCAV.MAC), is there any away of directly reading the character strings into NEW_PC without specifying its size before hand. Please help.
Thanks
Rajanikanth G
Rotors & Aerofoils CoE
T: 91-80-40120299
D: 91-0299
E: g.rajanikanth_at_ge.com
URL: www.jfwtc.ge.com
John F. Welch Technology Centre, Plot 122,EPIP,Hoodi, Whitefield Road,Bangalore - 560 066 India
^---------------------------------------------------- | XANSYS web - www.xansys.org | | XANSYS blog - xansys.blogspot.com | | The Online Community for users | | of ANSYS, Inc. Software | | Hosted by PADT - www.padtinc.com | ^----------------------------------------------------