Post Reply 
Replica a number
02-03-2022, 01:43 PM
Post: #3
RE: Replica a number
I don't think there is a built in command to do this but it can be done with a simple program such as this one which will replace in list each occurrence of num1 by num2 (it works only for numbers, not for other types of list elements):

Code:
EXPORT ReplNum(list,num1,num2)
BEGIN
 EXECON("IFTE(&1=="+num1+","+num2+",&1)",list);
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Replica a number - robmio - 02-03-2022, 10:16 AM
RE: Replica a number - robmio - 02-03-2022, 10:20 AM
RE: Replica a number - robmio - 02-03-2022, 02:04 PM
RE: Replica a number - Didier Lachieze - 02-03-2022 01:43 PM
RE: Replica a number - robmio - 02-03-2022, 02:07 PM
RE: Replica a number - Arno K - 02-03-2022, 01:52 PM
RE: Replica a number - robmio - 02-03-2022, 02:10 PM
RE: Replica a number - Tyann - 02-08-2022, 11:34 AM
RE: Replica a number - robmio - 02-08-2022, 12:50 PM



User(s) browsing this thread: 1 Guest(s)