Skip to Content.
Sympa Menu

opal - [Opal] Issues with calling string variable in element definition

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] Issues with calling string variable in element definition


Chronological Thread 
  • From: Anastasia Ierides <aaierides AT gmail.com>
  • To: opal AT lists.psi.ch
  • Subject: [Opal] Issues with calling string variable in element definition
  • Date: Thu, 4 Jun 2020 10:07:41 -0700
  • Authentication-results: localhost; iprev=pass (mail-ua1-f51.google.com) smtp.remote-ip=209.85.222.51; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com

Hi OPAL team,

I am trying to assign a file name to a variable that will be called later into the FMAPFN attribute of an RFCAVITY definition. I have something like

STRING tempFMAPFN = "filename";

Then I all on it as

CAV: RFCAVITY, .... FMAPFN = '${tempFMAPFN}$;

I have also tried using other variations of this format, but the different error messages keep popping up, the most common being that the file with the filename doesn't exist. Is there a correct or different way to do this "file calling"?

Thanks and hope you are all staying safe,

Anastasia




Archive powered by MHonArc 2.6.19.

Top of Page