Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function to edit a string (*solved*)
#2
Hmm. Judging from the wiki documentation, ByREF seems to be what I need here, but it doesn't seem to help. The example usage is with arrays not strings. Is there a way to achieve what I'm trying to do here?
The reason I wanted to use a function is that I have several sprites stored as strings, and I want to edit multiple sprites in fundamentally the same way - hence the function to avoid code repetition.
Reply


Messages In This Thread
Function to edit a string (*solved*) - by patters - 12-29-2020, 05:13 PM
RE: Function to edit a string - by patters - 12-29-2020, 06:37 PM
RE: Function to edit a string - by boriel - 12-30-2020, 08:26 AM
RE: Function to edit a string - by patters - 12-30-2020, 12:14 PM
RE: Function to edit a string - by boriel - 12-30-2020, 06:01 PM
RE: Function to edit a string - by boriel - 01-02-2021, 02:14 PM
RE: Function to edit a string - by patters - 01-02-2021, 07:35 PM
RE: Function to edit a string - by patters - 01-03-2021, 12:44 AM
RE: Function to edit a string - by boriel - 01-03-2021, 05:03 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)