Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Determining if variable or static string is passed to a Sub
#4
In my experiments even if you Dim a string as fixed and then change it to another length, no error is thrown and the change is made. (Not something you can do with Arrays!) In fact all processing of fixed length strings seem to be treated as variable length. I guess its up to coder to keep the length fixed when resetting a value.

So I don't understand how any String processing, fixed or variable, will throw error but you might try making sure the string going out is same size as string going in? That will keep fixed strings the same length.
b = b + ...
Reply


Messages In This Thread
RE: Determining if variable or static string is passed to a Sub - by bplus - 05-21-2025, 07:46 PM



Users browsing this thread: 1 Guest(s)