Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with UDTs and Strings / PSA
#7
(07-27-2024, 08:01 PM)justsomeguy Wrote: I ran into this issue a long time ago and swore off using variable length strings. But some of the code I've seen posted on the forum were using it with no issue, so I was under the impression that those issues were resolved.

Like I said earlier, they are convenient because they can behave like an array, and you don't have to manage the size and LEN function behaves as expected.

I found it kinda funny that depending on the order of elements in the array would cause slightly different behaviors.

Quote:not using UDT's can speed up executions of finished program but this solution may make it a coding nightmare for organization.
 
I thought about that too. But, I would end up having a bunch arrays that have identifiers approaching the 40 character limit.
It might be fun to have a coding style discussion, in a new thread, to compare UDT's to non-UDT variable use, or maybe just to discuss coding styles, pros and cons, in general.

Pete
Shoot first and shoot people who ask questions, later.
Reply


Messages In This Thread
RE: Issue with UDTs and Strings / PSA - by luke - 07-27-2024, 11:01 AM
RE: Issue with UDTs and Strings / PSA - by bplus - 07-27-2024, 02:57 PM
RE: Issue with UDTs and Strings / PSA - by luke - 08-09-2024, 01:03 PM
RE: Issue with UDTs and Strings / PSA - by Pete - 08-09-2024, 02:46 PM



Users browsing this thread: 1 Guest(s)