The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A long list of strings
#1
I have two questions in relation to a long list of strings in one of my macros :

(a) To declare this long list of strings is it possible to use one declaration statement (str) and then continue the list in several lines? In other words is it possible to use continuation lines in QM editor?

(b) Is it possible to use a kind of fortran-like equivalence statement for this long list of strings, for example in the case you need to output their values using the elements of an ARRAY in a for-like statement than using explicitly the name of each-one of the strings.

Many thanks for any advice.


Messages In This Thread
A long list of strings - by ssimop - 07-11-2018, 07:50 PM
RE: A long list of strings - by Gintaras - 07-12-2018, 10:52 AM
RE: A long list of strings - by ssimop - 07-12-2018, 11:08 AM
RE: A long list of strings - by Gintaras - 07-12-2018, 11:23 AM
RE: A long list of strings - by ssimop - 07-12-2018, 11:38 AM
RE: A long list of strings - by Gintaras - 07-12-2018, 11:55 AM
RE: A long list of strings - by ssimop - 07-12-2018, 12:51 PM
RE: A long list of strings - by Gintaras - 07-12-2018, 06:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)