Author Topic: Input string with quotation marks in v8.5  (Read 3859 times)

Axuni

  • Jr. Member
  • **
  • Posts: 18
Input string with quotation marks in v8.5
« on: April 27, 2018, 07:05:23 AM »
Dear all,

I notice a change in subroutine pstrip.f, which reads strings.
In v8.4 (or at least in the subroutine I have), lines from 37 to 46 reads checks/removes some characters
However, in v8.5, few lines have been inserted removing single and double quotation marks.
This makes not possible to read strings with quotation marks and spaces, like
Code: [Select]
include "test 1.txt"Moreover, the lines for reading "String between double quotes" in tinput.f become useless.
These changes are not documented in v8.5.
Is there a specific reason for removing the capabilities of reading quotation marks?

Thanks!

Axuni

  • Jr. Member
  • **
  • Posts: 18
Re: Input string with quotation marks in v8.5
« Reply #1 on: July 23, 2020, 05:59:51 AM »
Dear all,

I see the same issue with feap 8.6
Is there a specific reason for avoiding the quotation marks?
Currently, commenting some lines in subroutine pstrip.f solves the issue.

Thanks and regards,
Axuni

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Input string with quotation marks in v8.5
« Reply #2 on: July 23, 2020, 11:43:53 AM »
I can not think of a good reason that the single and double quotes are being stripped.   What happens if you comment out the elseif blocks for when ichar returns 34 and 39? 

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Input string with quotation marks in v8.5
« Reply #3 on: July 23, 2020, 01:11:30 PM »
Remove only the check on double quote  34 -- that is the one being checked in tinput.  Single quote has no meaning probably.

Axuni

  • Jr. Member
  • **
  • Posts: 18
Re: Input string with quotation marks in v8.5
« Reply #4 on: July 24, 2020, 06:44:02 AM »
Dear Prof. Govindjee,

I will do as you suggests.
Thanks and regards!