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
Use variables whose names can be created at run time
#1
I am aware of "__VarVar" :

download/file.php?id=454

My question :

In a macro a series of str variables with names in the form "en", where n integer values, are created (ie. e01, e02 etc.). I wonder whether I could store values in these variables using a for loop, for example :

Quote:for int'i 0 20
e??=F"Val{i}"

Many thanks in advance, for any advice.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)