SRL Archive - FAQ

ReplaceFlags in replace(...


weequ

2010-07-16 16:03:56

ReplaceFlags in replace(… What are they?

Edit: Another question:
In ClickMouse what are the different clicktypes?
I mean like 1=left, 2=right, 3=middle or?

Narcle

2010-07-16 18:14:31

TReplaceFlags is an array. The only 2 flags I know of in it are rfReplaceAll and rfIgnoreCase. Make sure you place it in a array when you use the function.

Daniel

2010-07-16 21:26:45

For the mouse commands, it goes like this:
mouse_Left
mouse_Middle
mouse_Right

They're self-explanatory (I hope..)

Nava2

2010-07-16 21:46:57

Try typing `rf' then hit ctrl+space.

Might come up with them all! :)

weequ

2010-07-17 15:53:04

Ok thank you guys.

weequ

2011-01-06 16:47:06

Bump I need help with this again…
I'm trying to use this:
Name := Replace(Name, Chr(32), Chr(255)+Chr(255), [rfReplaceAll]);
But I get this:
[Error] (17:68): Invalid number of parameters at line 16

mastaraymond

2011-01-06 18:12:36

From: antti mies
Bump I need help with this again…
I'm trying to use this:
Name := Replace(Name, Chr(32), Chr(255)+Chr(255), [rfReplaceAll]);
But I get this:
[Error] (17:68): Invalid number of parameters at line 16

SRL Overwrites the replace function, afaik, so use ReplaceEx if your using it in combination with SRL.

weequ

2011-01-06 18:38:44

From: mastaraymond
SRL Overwrites the replace function, afaik, so use ReplaceEx if your using it in combination with SRL.

[Error] (17:11): Unknown identifier 'ReplaceEx' at line 16

nielsie95

2011-01-12 10:41:27

How about ReplaceWrap?