Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Determining if variable or static string is passed to a Sub
#7
Thanks to all.
Since SUBs and FUCTIONs are unaware, I will do what have done in the past when in the same situation - I incorporate a flag @ position 1 in the string (probably the pipe character) that alerts the routine to make the necessary adjustments.  Not perfect, but close enough and definitely workable.
Reply


Messages In This Thread
RE: Determining if variable or static string is passed to a Sub - by dano - 05-22-2025, 04:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Variable length type declarations dano 5 683 08-06-2025, 09:53 PM
Last Post: dano
  Most efficient way to build a big variable length string? mdijkens 9 1,875 01-17-2025, 11:36 PM
Last Post: ahenry3068
  Huge array of variable length strings mdijkens 9 1,824 10-17-2024, 02:01 PM
Last Post: mdijkens
  REDIM, TYPE, and STRING Woes TerryRitchie 16 3,130 04-13-2023, 05:17 AM
Last Post: DSMan195276
Lightbulb To mimic "cmd.exe" behavior with eg. "DIRCMD" env. variable mnrvovrfc 4 1,173 09-29-2022, 02:51 AM
Last Post: mnrvovrfc

Forum Jump:


Users browsing this thread: